]> git.proxmox.com Git - rustc.git/blame - src/liblibc/.travis.yml
New upstream version 1.12.0+dfsg1
[rustc.git] / src / liblibc / .travis.yml
CommitLineData
92a42be0
SL
1language: rust
2sudo: required
3dist: trusty
92a42be0
SL
4services:
5 - docker
5bcae85e
SL
6install:
7 - curl https://static.rust-lang.org/rustup.sh |
8 sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
92a42be0 9script:
5bcae85e
SL
10 - cargo build
11 - cargo build --no-default-features
12 - cargo generate-lockfile --manifest-path libc-test/Cargo.toml
13 - if [[ $TRAVIS_OS_NAME = "linux" ]]; then
14 sh ci/run-docker.sh $TARGET;
92a42be0 15 else
5bcae85e
SL
16 export CARGO_TARGET_DIR=`pwd`/target;
17 sh ci/run.sh $TARGET;
92a42be0 18 fi
5bcae85e
SL
19 - rustc ci/style.rs && ./style src
20osx_image: xcode7.3
92a42be0 21env:
92a42be0
SL
22 global:
23 secure: eIDEoQdTyglcsTD13zSGotAX2HDhRSXIaaTnVZTThqLSrySOc3/6KY3qmOc2Msf7XaBqfFy9QA+alk7OwfePp253eiy1Kced67ffjjFOytEcRT7FlQiYpcYQD6WNHZEj62/bJBO4LTM9sGtWNCTJVEDKW0WM8mUK7qNuC+honPM=
24matrix:
25 include:
5bcae85e 26 # 1.0.0 compat
92a42be0 27 - os: linux
5bcae85e
SL
28 env: TARGET=x86_64-unknown-linux-gnu
29 rust: 1.0.0
30 script: cargo build
31 install:
32
33 # build documentation
34 - os: linux
35 env: TARGET=x86_64-unknown-linux-gnu
36 rust: stable
37 script: sh ci/dox.sh
38
39 # stable compat
40 - os: linux
41 env: TARGET=x86_64-unknown-linux-gnu
42 rust: stable
43 - os: linux
44 env: TARGET=i686-unknown-linux-gnu
45 rust: stable
46 - os: osx
47 env: TARGET=x86_64-apple-darwin
48 rust: stable
49 - os: osx
50 env: TARGET=i686-apple-darwin
51 rust: stable
52 - os: linux
53 env: TARGET=arm-linux-androideabi
54 rust: stable
92a42be0
SL
55 - os: linux
56 env: TARGET=x86_64-unknown-linux-musl
5bcae85e 57 rust: stable
92a42be0
SL
58 - os: linux
59 env: TARGET=arm-unknown-linux-gnueabihf
5bcae85e 60 rust: stable
92a42be0
SL
61 - os: linux
62 env: TARGET=aarch64-unknown-linux-gnu
5bcae85e 63 rust: stable
92a42be0
SL
64 - os: osx
65 env: TARGET=i386-apple-ios
5bcae85e 66 rust: stable
92a42be0
SL
67 - os: osx
68 env: TARGET=x86_64-apple-ios
5bcae85e
SL
69 rust: stable
70 - os: linux
71 env: TARGET=x86_64-rumprun-netbsd
72 rust: stable
73
74 # beta
75 - os: linux
76 env: TARGET=x86_64-unknown-linux-gnu
77 rust: beta
78 - os: osx
79 env: TARGET=x86_64-apple-darwin
80 rust: beta
81
82 # nightly
9cc50fc6 83 - os: linux
5bcae85e
SL
84 env: TARGET=x86_64-unknown-linux-gnu
85 rust: nightly
86 - os: osx
87 env: TARGET=x86_64-apple-darwin
54a0048b 88 rust: nightly
7453a54e 89 - os: linux
5bcae85e
SL
90 env: TARGET=mips-unknown-linux-gnu
91 # not sure why this has to be nightly...
7453a54e 92 rust: nightly
5bcae85e
SL
93
94 # QEMU based targets that compile in an emulator
95 - os: linux
96 env: TARGET=x86_64-unknown-freebsd
97 rust: stable
7453a54e
SL
98 - os: linux
99 env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
5bcae85e
SL
100 rust: stable
101 script: sh ci/run-docker.sh $TARGET
102 install:
103
92a42be0
SL
104notifications:
105 email:
106 on_success: never
54a0048b 107 webhooks: http://buildbot.rust-lang.org/homu/travis