Alex Crichton | 68fe98b | 2015-01-13 07:53:42 -0800 | [diff] [blame] | 1 | language: rust |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 2 | rust: stable |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 3 | sudo: required |
Alex Crichton | 68a5c44 | 2015-11-20 09:28:12 -0800 | [diff] [blame] | 4 | dist: trusty |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 5 | services: |
| 6 | - docker |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 7 | install: |
Alex Crichton | 9a55bc1 | 2017-03-23 08:09:00 -0700 | [diff] [blame] | 8 | - if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi |
Alex Crichton | 68fe98b | 2015-01-13 07:53:42 -0800 | [diff] [blame] | 9 | script: |
Marco A L Barbosa | d1eabe6 | 2017-10-27 11:06:40 -0200 | [diff] [blame] | 10 | - cargo build $OPT |
| 11 | - cargo build $OPT --no-default-features |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 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 Crichton | 094b0d4 | 2015-11-03 14:22:29 -0800 | [diff] [blame] | 15 | else |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 16 | export CARGO_TARGET_DIR=`pwd`/target; |
| 17 | sh ci/run.sh $TARGET; |
Alex Crichton | 094b0d4 | 2015-11-03 14:22:29 -0800 | [diff] [blame] | 18 | fi |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 19 | - rustc ci/style.rs && ./style src |
Alex Crichton | 985744f | 2015-09-12 17:02:38 -0700 | [diff] [blame] | 20 | env: |
Alex Crichton | 9eca468 | 2015-09-17 00:48:36 -0700 | [diff] [blame] | 21 | global: |
Alex Crichton | c9ec4e7 | 2016-11-19 10:10:43 -0800 | [diff] [blame] | 22 | secure: "e2/3QjgRN9atOuSHp22TrYG7QVKcYUWY48Hi9b60w+r1+BhPkTseIJLte7WefRhdXtqpjjUJTooKDhnurFOeHaCT+nmBgiv+FPU893sBl4bhesY4m0vgUJVbNZcs6lTImYekWVb+aqjGdgV/XAgCw7c3kPmrZV0MzGDWL64Xaps=" |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 23 | matrix: |
Jason Longshore | 802bd7d | 2018-05-10 12:21:50 -0500 | [diff] [blame] | 24 | allow_failures: |
| 25 | # FIXME(#987) move back to include once 404 is fixed |
Jason Longshore | b58c25d | 2018-05-10 15:30:51 -0500 | [diff] [blame^] | 26 | - env: TARGET=s390x-unknown-linux-gnu |
Jason Longshore | 802bd7d | 2018-05-10 12:21:50 -0500 | [diff] [blame] | 27 | - env: TARGET=sparc64-unknown-linux-gnu |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 28 | include: |
gnzlbg | 77837a0 | 2018-04-17 00:30:50 +0200 | [diff] [blame] | 29 | # 1.13.0 compat |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 30 | - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1 |
gnzlbg | 77837a0 | 2018-04-17 00:30:50 +0200 | [diff] [blame] | 31 | rust: 1.13.0 |
Alex Crichton | 9029cfb | 2017-10-18 12:28:48 -0700 | [diff] [blame] | 32 | script: rm -f Cargo.lock && cargo build |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 33 | install: |
| 34 | |
| 35 | # build documentation |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 36 | - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1 |
Alex Crichton | b9430b0 | 2016-12-02 13:33:13 -0800 | [diff] [blame] | 37 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 38 | script: sh ci/dox.sh |
| 39 | |
| 40 | # stable compat |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 41 | - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1 |
| 42 | - env: TARGET=i686-unknown-linux-gnu |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 43 | - os: osx |
Alex Crichton | 9a55bc1 | 2017-03-23 08:09:00 -0700 | [diff] [blame] | 44 | env: TARGET=x86_64-apple-darwin NO_ADD=1 |
Joshua Liebow-Feeser | f8bfc6e | 2017-08-30 11:47:32 -0700 | [diff] [blame] | 45 | osx_image: xcode8.3 |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 46 | - os: osx |
| 47 | env: TARGET=i686-apple-darwin |
Joshua Liebow-Feeser | f8bfc6e | 2017-08-30 11:47:32 -0700 | [diff] [blame] | 48 | osx_image: xcode8.3 |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 49 | - env: TARGET=arm-linux-androideabi |
| 50 | - env: TARGET=aarch64-linux-android |
Alex Crichton | 8617317 | 2017-10-27 18:31:05 -0700 | [diff] [blame] | 51 | # FIXME(#826) should reenable |
| 52 | #- env: TARGET=i686-linux-android |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 53 | - env: TARGET=x86_64-linux-android |
| 54 | - env: TARGET=x86_64-unknown-linux-musl |
| 55 | - env: TARGET=i686-unknown-linux-musl |
| 56 | - env: TARGET=arm-unknown-linux-gnueabihf |
Alex Crichton | 9029cfb | 2017-10-18 12:28:48 -0700 | [diff] [blame] | 57 | - env: TARGET=arm-unknown-linux-musleabihf |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 58 | - env: TARGET=aarch64-unknown-linux-gnu |
Alex Crichton | 9029cfb | 2017-10-18 12:28:48 -0700 | [diff] [blame] | 59 | - env: TARGET=aarch64-unknown-linux-musl |
Alex Crichton | bea4879 | 2017-11-25 14:17:54 -0800 | [diff] [blame] | 60 | # FIXME(#856) |
| 61 | rust: 1.22.1 |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 62 | - os: osx |
Kevin Brothaler | 4bcad05 | 2017-01-16 19:12:06 -0400 | [diff] [blame] | 63 | osx_image: xcode8.2 |
Alex Crichton | b7902df | 2017-08-22 07:02:32 -0700 | [diff] [blame] | 64 | env: TARGET=i386-apple-ios |
| 65 | CARGO_TARGET_I386_APPLE_IOS_RUNNER=$HOME/runtest |
| 66 | RUSTFLAGS=-Clink-arg=-mios-simulator-version-min=7.0 |
Alex Crichton | bcbfa85 | 2017-08-21 17:06:12 -0700 | [diff] [blame] | 67 | before_install: |
| 68 | rustc ./ci/ios/deploy_and_run_on_ios_simulator.rs -o $HOME/runtest |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 69 | - os: osx |
Kevin Brothaler | 4bcad05 | 2017-01-16 19:12:06 -0400 | [diff] [blame] | 70 | osx_image: xcode8.2 |
Alex Crichton | b7902df | 2017-08-22 07:02:32 -0700 | [diff] [blame] | 71 | env: TARGET=x86_64-apple-ios |
| 72 | CARGO_TARGET_X86_64_APPLE_IOS_RUNNER=$HOME/runtest |
| 73 | RUSTFLAGS=-Clink-arg=-mios-simulator-version-min=7.0 |
Alex Crichton | bcbfa85 | 2017-08-21 17:06:12 -0700 | [diff] [blame] | 74 | before_install: |
| 75 | rustc ./ci/ios/deploy_and_run_on_ios_simulator.rs -o $HOME/runtest |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 76 | - env: TARGET=x86_64-rumprun-netbsd |
| 77 | - env: TARGET=powerpc-unknown-linux-gnu |
| 78 | - env: TARGET=powerpc64-unknown-linux-gnu |
Marco A L Barbosa | 3130953 | 2017-10-24 19:04:02 -0200 | [diff] [blame] | 79 | - env: TARGET=powerpc64le-unknown-linux-gnu |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 80 | - env: TARGET=mips-unknown-linux-musl |
| 81 | - env: TARGET=mipsel-unknown-linux-musl |
| 82 | - env: TARGET=mips64-unknown-linux-gnuabi64 |
Marco A L Barbosa | 56b3403 | 2017-10-27 08:21:40 -0200 | [diff] [blame] | 83 | - env: TARGET=mips64el-unknown-linux-gnuabi64 |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 84 | - env: TARGET=mips-unknown-linux-gnu |
| 85 | - env: TARGET=s390x-unknown-linux-gnu |
Jason Longshore | b58c25d | 2018-05-10 15:30:51 -0500 | [diff] [blame^] | 86 | - env: TARGET=sparc64-unknown-linux-gnu |
Alex Crichton | 22b98de | 2017-08-26 20:39:46 -0700 | [diff] [blame] | 87 | - env: TARGET=asmjs-unknown-emscripten |
| 88 | - env: TARGET=wasm32-unknown-emscripten |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 89 | |
| 90 | # beta |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 91 | - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1 |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 92 | rust: beta |
| 93 | - os: osx |
Alex Crichton | 9a55bc1 | 2017-03-23 08:09:00 -0700 | [diff] [blame] | 94 | env: TARGET=x86_64-apple-darwin NO_ADD=1 |
Joshua Liebow-Feeser | f8bfc6e | 2017-08-30 11:47:32 -0700 | [diff] [blame] | 95 | osx_image: xcode8.3 |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 96 | rust: beta |
| 97 | |
| 98 | # nightly |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 99 | - env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1 |
Alex Crichton | b9430b0 | 2016-12-02 13:33:13 -0800 | [diff] [blame] | 100 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 101 | - os: osx |
Alex Crichton | 9a55bc1 | 2017-03-23 08:09:00 -0700 | [diff] [blame] | 102 | env: TARGET=x86_64-apple-darwin NO_ADD=1 |
Joshua Liebow-Feeser | f8bfc6e | 2017-08-30 11:47:32 -0700 | [diff] [blame] | 103 | osx_image: xcode8.3 |
Alex Crichton | b9430b0 | 2016-12-02 13:33:13 -0800 | [diff] [blame] | 104 | rust: nightly |
Marco A L Barbosa | d1eabe6 | 2017-10-27 11:06:40 -0200 | [diff] [blame] | 105 | # not available on stable |
Marco A L Barbosa | e63f46a | 2017-10-27 13:15:32 -0200 | [diff] [blame] | 106 | # without --release the build fails |
| 107 | # see https://github.com/rust-lang/rust/issues/45417 |
Marco A L Barbosa | d1eabe6 | 2017-10-27 11:06:40 -0200 | [diff] [blame] | 108 | - env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release" |
| 109 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 110 | |
| 111 | # QEMU based targets that compile in an emulator |
Alex Crichton | 7d74c09 | 2017-07-07 14:18:19 -0700 | [diff] [blame] | 112 | - env: TARGET=x86_64-unknown-freebsd |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 113 | |
Alex Crichton | a3c854d | 2015-09-12 22:03:11 -0700 | [diff] [blame] | 114 | notifications: |
| 115 | email: |
| 116 | on_success: never |
Alex Crichton | 64595ef | 2016-08-26 23:04:58 -0700 | [diff] [blame] | 117 | webhooks: https://buildbot.rust-lang.org/homu/travis |