blob: de31504ac488f0f496acb812ce121ba7b0de6f0b [file] [log] [blame]
Alex Crichton68fe98b2015-01-13 07:53:42 -08001language: rust
Alex Crichton12240ad2015-09-17 01:01:45 -07002sudo: required
Alex Crichton68a5c442015-11-20 09:28:12 -08003dist: trusty
Alex Crichton12240ad2015-09-17 01:01:45 -07004services:
5 - docker
Alex Crichton3eb4a482016-06-10 05:03:23 -07006install:
7 - curl https://static.rust-lang.org/rustup.sh |
8 sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
Alex Crichton68fe98b2015-01-13 07:53:42 -08009script:
Alex Crichton3eb4a482016-06-10 05:03:23 -070010 - 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;
Alex Crichton094b0d42015-11-03 14:22:29 -080015 else
Alex Crichton3eb4a482016-06-10 05:03:23 -070016 export CARGO_TARGET_DIR=`pwd`/target;
17 sh ci/run.sh $TARGET;
Alex Crichton094b0d42015-11-03 14:22:29 -080018 fi
Alex Crichton3eb4a482016-06-10 05:03:23 -070019 - rustc ci/style.rs && ./style src
Axel Viala26ee7822016-06-10 02:33:32 +020020osx_image: xcode7.3
Alex Crichton985744f2015-09-12 17:02:38 -070021env:
Alex Crichton9eca4682015-09-17 00:48:36 -070022 global:
Alex Crichton4e43d812015-10-29 17:50:09 -070023 secure: eIDEoQdTyglcsTD13zSGotAX2HDhRSXIaaTnVZTThqLSrySOc3/6KY3qmOc2Msf7XaBqfFy9QA+alk7OwfePp253eiy1Kced67ffjjFOytEcRT7FlQiYpcYQD6WNHZEj62/bJBO4LTM9sGtWNCTJVEDKW0WM8mUK7qNuC+honPM=
Alex Crichton12240ad2015-09-17 01:01:45 -070024matrix:
25 include:
Alex Crichton3eb4a482016-06-10 05:03:23 -070026 # 1.0.0 compat
Alex Crichton12240ad2015-09-17 01:01:45 -070027 - os: linux
Alex Crichton3eb4a482016-06-10 05:03:23 -070028 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
Alex Crichton12240ad2015-09-17 01:01:45 -070055 - os: linux
56 env: TARGET=x86_64-unknown-linux-musl
Alex Crichton3eb4a482016-06-10 05:03:23 -070057 rust: stable
Alex Crichton12240ad2015-09-17 01:01:45 -070058 - os: linux
Alex Crichtona097ff62016-08-26 19:48:54 -070059 env: TARGET=i686-unknown-linux-musl
60 rust: stable
61 - os: linux
Alex Crichton12240ad2015-09-17 01:01:45 -070062 env: TARGET=arm-unknown-linux-gnueabihf
Alex Crichton3eb4a482016-06-10 05:03:23 -070063 rust: stable
Alex Crichton684cfa42015-09-17 15:18:18 -070064 - os: linux
65 env: TARGET=aarch64-unknown-linux-gnu
Alex Crichton3eb4a482016-06-10 05:03:23 -070066 rust: stable
Alex Crichtonbaef6112015-09-19 23:20:53 -070067 - os: osx
68 env: TARGET=i386-apple-ios
Alex Crichton3eb4a482016-06-10 05:03:23 -070069 rust: stable
Alex Crichtonbaef6112015-09-19 23:20:53 -070070 - os: osx
71 env: TARGET=x86_64-apple-ios
Alex Crichton3eb4a482016-06-10 05:03:23 -070072 rust: stable
73 - os: linux
74 env: TARGET=x86_64-rumprun-netbsd
75 rust: stable
Alex Crichton8018a502016-08-26 22:54:58 -070076 - os: linux
77 env: TARGET=powerpc-unknown-linux-gnu
78 rust: stable
Alex Crichton3eb4a482016-06-10 05:03:23 -070079
80 # beta
81 - os: linux
82 env: TARGET=x86_64-unknown-linux-gnu
83 rust: beta
84 - os: osx
85 env: TARGET=x86_64-apple-darwin
86 rust: beta
87
88 # nightly
89 - os: linux
90 env: TARGET=x86_64-unknown-linux-gnu
91 rust: nightly
92 - os: osx
93 env: TARGET=x86_64-apple-darwin
Alex Crichtonc02a5c22016-03-03 13:40:09 -080094 rust: nightly
Alex Crichton49d7bca2015-11-27 09:40:37 -080095 - os: linux
Alex Crichton3eb4a482016-06-10 05:03:23 -070096 env: TARGET=mips-unknown-linux-gnu
97 # not sure why this has to be nightly...
Alex Crichtonc02a5c22016-03-03 13:40:09 -080098 rust: nightly
Alex Crichton3eb4a482016-06-10 05:03:23 -070099
100 # QEMU based targets that compile in an emulator
Alex Crichtond820c4a2016-01-18 11:16:38 -0800101 - os: linux
Alex Crichton3eb4a482016-06-10 05:03:23 -0700102 env: TARGET=x86_64-unknown-freebsd
103 rust: stable
Alex Crichtond820c4a2016-01-18 11:16:38 -0800104 - os: linux
105 env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
Alex Crichton3eb4a482016-06-10 05:03:23 -0700106 rust: stable
107 script: sh ci/run-docker.sh $TARGET
108 install:
109
Alex Crichtona3c854d2015-09-12 22:03:11 -0700110notifications:
111 email:
112 on_success: never
Alex Crichton64595ef2016-08-26 23:04:58 -0700113 webhooks: https://buildbot.rust-lang.org/homu/travis