summaryrefslogtreecommitdiff
path: root/libc/.travis.yml
blob: 93236a8d0c6a261372453fb86dc27458b20073a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
language: rust
sudo: required
dist: trusty
services:
  - docker
install:
  - curl https://static.rust-lang.org/rustup.sh |
    sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
script:
  - cargo build
  - cargo build --no-default-features
  - cargo generate-lockfile --manifest-path libc-test/Cargo.toml
  - if [[ $TRAVIS_OS_NAME = "linux" ]]; then
      sh ci/run-docker.sh $TARGET;
    else
      export CARGO_TARGET_DIR=`pwd`/target;
      sh ci/run.sh $TARGET;
    fi
  - rustc ci/style.rs && ./style src
env:
  global:
    secure: "e2/3QjgRN9atOuSHp22TrYG7QVKcYUWY48Hi9b60w+r1+BhPkTseIJLte7WefRhdXtqpjjUJTooKDhnurFOeHaCT+nmBgiv+FPU893sBl4bhesY4m0vgUJVbNZcs6lTImYekWVb+aqjGdgV/XAgCw7c3kPmrZV0MzGDWL64Xaps="
matrix:
  include:
    # 1.0.0 compat
    - os: linux
      env: TARGET=x86_64-unknown-linux-gnu
      rust: 1.0.0
      script: cargo build
      install:

    # build documentation
    - os: linux
      env: TARGET=x86_64-unknown-linux-gnu
      rust: nightly
      script: sh ci/dox.sh

    # stable compat
    - os: linux
      env: TARGET=x86_64-unknown-linux-gnu
      rust: stable
    - os: linux
      env: TARGET=i686-unknown-linux-gnu
      rust: stable
    - os: osx
      env: TARGET=x86_64-apple-darwin
      rust: stable
    - os: osx
      env: TARGET=i686-apple-darwin
      rust: stable
    - os: linux
      env: TARGET=arm-linux-androideabi
      rust: stable
    - os: linux
      env: TARGET=aarch64-linux-android
      rust: stable
    - os: linux
      env: TARGET=i686-linux-android
      rust: stable
    - os: linux
      env: TARGET=x86_64-unknown-linux-musl
      rust: stable
    - os: linux
      env: TARGET=i686-unknown-linux-musl
      rust: stable
    - os: linux
      env: TARGET=arm-unknown-linux-gnueabihf
      rust: stable
    - os: linux
      env: TARGET=aarch64-unknown-linux-gnu
      rust: stable
    - os: osx
      osx_image: xcode8.2
      env: TARGET=i386-apple-ios
      rust: stable
    - os: osx
      osx_image: xcode8.2
      env: TARGET=x86_64-apple-ios
      rust: stable
    - os: linux
      env: TARGET=x86_64-rumprun-netbsd
      rust: stable
    - os: linux
      env: TARGET=powerpc-unknown-linux-gnu
      rust: stable
    - os: linux
      env: TARGET=powerpc64-unknown-linux-gnu
      rust: beta
    - os: linux
      env: TARGET=mips-unknown-linux-musl
      rust: stable
    - os: linux
      env: TARGET=mipsel-unknown-linux-musl
      rust: stable
    - os: linux
      env: TARGET=mips64-unknown-linux-gnuabi64
      rust: beta
    - os: linux
      env: TARGET=mips-unknown-linux-gnu
      rust: beta

    # beta
    - os: linux
      env: TARGET=x86_64-unknown-linux-gnu
      rust: beta
    - os: osx
      env: TARGET=x86_64-apple-darwin
      rust: beta

    # nightly
    - os: linux
      env: TARGET=x86_64-unknown-linux-gnu
      rust: nightly
    - os: osx
      env: TARGET=x86_64-apple-darwin
      rust: nightly

    # QEMU based targets that compile in an emulator
    - os: linux
      env: TARGET=x86_64-unknown-freebsd
      rust: stable
    - os: linux
      env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
      rust: stable
      script: sh ci/run-docker.sh $TARGET
      install:

cache: cargo

notifications:
  email:
    on_success: never
  webhooks: https://buildbot.rust-lang.org/homu/travis