]> git.proxmox.com Git - rustc.git/blame - src/liblibc/.travis.yml
New upstream version 1.20.0+dfsg1
[rustc.git] / src / liblibc / .travis.yml
CommitLineData
92a42be0
SL
1language: rust
2sudo: required
3dist: trusty
92a42be0
SL
4services:
5 - docker
5bcae85e 6install:
cc61c64b 7 - if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi
92a42be0 8script:
5bcae85e
SL
9 - cargo build
10 - cargo build --no-default-features
11 - cargo generate-lockfile --manifest-path libc-test/Cargo.toml
12 - if [[ $TRAVIS_OS_NAME = "linux" ]]; then
13 sh ci/run-docker.sh $TARGET;
92a42be0 14 else
5bcae85e
SL
15 export CARGO_TARGET_DIR=`pwd`/target;
16 sh ci/run.sh $TARGET;
92a42be0 17 fi
5bcae85e 18 - rustc ci/style.rs && ./style src
92a42be0 19env:
92a42be0 20 global:
476ff2be 21 secure: "e2/3QjgRN9atOuSHp22TrYG7QVKcYUWY48Hi9b60w+r1+BhPkTseIJLte7WefRhdXtqpjjUJTooKDhnurFOeHaCT+nmBgiv+FPU893sBl4bhesY4m0vgUJVbNZcs6lTImYekWVb+aqjGdgV/XAgCw7c3kPmrZV0MzGDWL64Xaps="
92a42be0
SL
22matrix:
23 include:
5bcae85e 24 # 1.0.0 compat
92a42be0 25 - os: linux
cc61c64b 26 env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
5bcae85e
SL
27 rust: 1.0.0
28 script: cargo build
29 install:
30
31 # build documentation
32 - os: linux
cc61c64b 33 env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
32a655c1 34 rust: nightly
5bcae85e
SL
35 script: sh ci/dox.sh
36
37 # stable compat
38 - os: linux
cc61c64b 39 env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
5bcae85e
SL
40 rust: stable
41 - os: linux
42 env: TARGET=i686-unknown-linux-gnu
43 rust: stable
44 - os: osx
cc61c64b 45 env: TARGET=x86_64-apple-darwin NO_ADD=1
5bcae85e
SL
46 rust: stable
47 - os: osx
48 env: TARGET=i686-apple-darwin
49 rust: stable
50 - os: linux
51 env: TARGET=arm-linux-androideabi
52 rust: stable
cc61c64b
XL
53 - os: linux
54 env: TARGET=aarch64-linux-android
55 rust: stable
56 - os: linux
57 env: TARGET=i686-linux-android
58 rust: stable
041b39d2
XL
59 # as of 2017/05/03 x86_64-linux-android are not on stable
60 - os: linux
61 env: TARGET=x86_64-linux-android
62 rust: beta
92a42be0
SL
63 - os: linux
64 env: TARGET=x86_64-unknown-linux-musl
5bcae85e 65 rust: stable
9e0c209e
SL
66 - os: linux
67 env: TARGET=i686-unknown-linux-musl
68 rust: stable
92a42be0
SL
69 - os: linux
70 env: TARGET=arm-unknown-linux-gnueabihf
5bcae85e 71 rust: stable
92a42be0
SL
72 - os: linux
73 env: TARGET=aarch64-unknown-linux-gnu
5bcae85e 74 rust: stable
92a42be0 75 - os: osx
8bb4bdeb 76 osx_image: xcode8.2
92a42be0 77 env: TARGET=i386-apple-ios
5bcae85e 78 rust: stable
92a42be0 79 - os: osx
8bb4bdeb 80 osx_image: xcode8.2
92a42be0 81 env: TARGET=x86_64-apple-ios
5bcae85e
SL
82 rust: stable
83 - os: linux
84 env: TARGET=x86_64-rumprun-netbsd
85 rust: stable
9e0c209e
SL
86 - os: linux
87 env: TARGET=powerpc-unknown-linux-gnu
88 rust: stable
89 - os: linux
90 env: TARGET=powerpc64-unknown-linux-gnu
c30ab7b3 91 rust: beta
9e0c209e
SL
92 - os: linux
93 env: TARGET=mips-unknown-linux-musl
94 rust: stable
95 - os: linux
96 env: TARGET=mipsel-unknown-linux-musl
97 rust: stable
c30ab7b3
SL
98 - os: linux
99 env: TARGET=mips64-unknown-linux-gnuabi64
476ff2be
SL
100 rust: beta
101 - os: linux
102 env: TARGET=mips-unknown-linux-gnu
103 rust: beta
5bcae85e
SL
104
105 # beta
106 - os: linux
cc61c64b 107 env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
5bcae85e
SL
108 rust: beta
109 - os: osx
cc61c64b 110 env: TARGET=x86_64-apple-darwin NO_ADD=1
5bcae85e
SL
111 rust: beta
112
113 # nightly
9cc50fc6 114 - os: linux
cc61c64b 115 env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
32a655c1 116 rust: nightly
5bcae85e 117 - os: osx
cc61c64b 118 env: TARGET=x86_64-apple-darwin NO_ADD=1
32a655c1 119 rust: nightly
5bcae85e
SL
120
121 # QEMU based targets that compile in an emulator
122 - os: linux
123 env: TARGET=x86_64-unknown-freebsd
124 rust: stable
7453a54e
SL
125 - os: linux
126 env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
5bcae85e
SL
127 rust: stable
128 script: sh ci/run-docker.sh $TARGET
129 install:
130
476ff2be
SL
131cache: cargo
132
92a42be0
SL
133notifications:
134 email:
135 on_success: never
9e0c209e 136 webhooks: https://buildbot.rust-lang.org/homu/travis