blob: e258303a5337c7ae136386cd7a965f9da8afd0de [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
59 env: TARGET=arm-unknown-linux-gnueabihf
Alex Crichton3eb4a482016-06-10 05:03:23 -070060 rust: stable
Alex Crichton684cfa42015-09-17 15:18:18 -070061 - os: linux
62 env: TARGET=aarch64-unknown-linux-gnu
Alex Crichton3eb4a482016-06-10 05:03:23 -070063 rust: stable
Alex Crichtonbaef6112015-09-19 23:20:53 -070064 - os: osx
65 env: TARGET=i386-apple-ios
Alex Crichton3eb4a482016-06-10 05:03:23 -070066 rust: stable
Alex Crichtonbaef6112015-09-19 23:20:53 -070067 - os: osx
68 env: TARGET=x86_64-apple-ios
Alex Crichton3eb4a482016-06-10 05:03:23 -070069 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
83 - os: linux
84 env: TARGET=x86_64-unknown-linux-gnu
85 rust: nightly
86 - os: osx
87 env: TARGET=x86_64-apple-darwin
Alex Crichtonc02a5c22016-03-03 13:40:09 -080088 rust: nightly
Alex Crichton49d7bca2015-11-27 09:40:37 -080089 - os: linux
Alex Crichton3eb4a482016-06-10 05:03:23 -070090 env: TARGET=mips-unknown-linux-gnu
91 # not sure why this has to be nightly...
Alex Crichtonc02a5c22016-03-03 13:40:09 -080092 rust: nightly
Alex Crichton3eb4a482016-06-10 05:03:23 -070093
94 # QEMU based targets that compile in an emulator
Alex Crichtond820c4a2016-01-18 11:16:38 -080095 - os: linux
Alex Crichton3eb4a482016-06-10 05:03:23 -070096 env: TARGET=x86_64-unknown-freebsd
97 rust: stable
Alex Crichtond820c4a2016-01-18 11:16:38 -080098 - os: linux
99 env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
Alex Crichton3eb4a482016-06-10 05:03:23 -0700100 rust: stable
101 script: sh ci/run-docker.sh $TARGET
102 install:
103
Alex Crichtona3c854d2015-09-12 22:03:11 -0700104notifications:
105 email:
106 on_success: never
Alex Crichton2ff0e522016-03-10 17:02:33 -0800107 webhooks: http://buildbot.rust-lang.org/homu/travis