Alex Crichton | 68fe98b | 2015-01-13 07:53:42 -0800 | [diff] [blame] | 1 | language: rust |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 2 | sudo: required |
Alex Crichton | 68a5c44 | 2015-11-20 09:28:12 -0800 | [diff] [blame] | 3 | dist: trusty |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 4 | services: |
| 5 | - docker |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 6 | install: |
| 7 | - curl https://static.rust-lang.org/rustup.sh | |
| 8 | sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot` |
Alex Crichton | 68fe98b | 2015-01-13 07:53:42 -0800 | [diff] [blame] | 9 | script: |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 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; |
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: |
| 24 | include: |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 25 | # 1.0.0 compat |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 26 | - os: linux |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 27 | env: TARGET=x86_64-unknown-linux-gnu |
| 28 | rust: 1.0.0 |
| 29 | script: cargo build |
| 30 | install: |
| 31 | |
| 32 | # build documentation |
| 33 | - os: linux |
| 34 | env: TARGET=x86_64-unknown-linux-gnu |
Alex Crichton | b9430b0 | 2016-12-02 13:33:13 -0800 | [diff] [blame] | 35 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 36 | script: sh ci/dox.sh |
| 37 | |
| 38 | # stable compat |
| 39 | - os: linux |
| 40 | env: TARGET=x86_64-unknown-linux-gnu |
| 41 | rust: stable |
| 42 | - os: linux |
| 43 | env: TARGET=i686-unknown-linux-gnu |
| 44 | rust: stable |
| 45 | - os: osx |
| 46 | env: TARGET=x86_64-apple-darwin |
| 47 | rust: stable |
| 48 | - os: osx |
| 49 | env: TARGET=i686-apple-darwin |
| 50 | rust: stable |
| 51 | - os: linux |
| 52 | env: TARGET=arm-linux-androideabi |
| 53 | rust: stable |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 54 | - os: linux |
| 55 | env: TARGET=x86_64-unknown-linux-musl |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 56 | rust: stable |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 57 | - os: linux |
Alex Crichton | a097ff6 | 2016-08-26 19:48:54 -0700 | [diff] [blame] | 58 | env: TARGET=i686-unknown-linux-musl |
| 59 | rust: stable |
| 60 | - os: linux |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 61 | env: TARGET=arm-unknown-linux-gnueabihf |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 62 | rust: stable |
Alex Crichton | 684cfa4 | 2015-09-17 15:18:18 -0700 | [diff] [blame] | 63 | - os: linux |
| 64 | env: TARGET=aarch64-unknown-linux-gnu |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 65 | rust: stable |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 66 | - os: osx |
Kevin Brothaler | 4bcad05 | 2017-01-16 19:12:06 -0400 | [diff] [blame^] | 67 | osx_image: xcode8.2 |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 68 | env: TARGET=i386-apple-ios |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 69 | rust: stable |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 70 | - os: osx |
Kevin Brothaler | 4bcad05 | 2017-01-16 19:12:06 -0400 | [diff] [blame^] | 71 | osx_image: xcode8.2 |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 72 | env: TARGET=x86_64-apple-ios |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 73 | rust: stable |
| 74 | - os: linux |
| 75 | env: TARGET=x86_64-rumprun-netbsd |
| 76 | rust: stable |
Alex Crichton | 8018a50 | 2016-08-26 22:54:58 -0700 | [diff] [blame] | 77 | - os: linux |
| 78 | env: TARGET=powerpc-unknown-linux-gnu |
| 79 | rust: stable |
Alex Crichton | a6b1c2d | 2016-08-26 23:11:45 -0700 | [diff] [blame] | 80 | - os: linux |
| 81 | env: TARGET=powerpc64-unknown-linux-gnu |
Alex Crichton | 78070bd | 2016-10-20 17:23:23 -0700 | [diff] [blame] | 82 | rust: beta |
Alex Crichton | ed32e3f | 2016-08-28 11:53:09 -0700 | [diff] [blame] | 83 | - os: linux |
Jorge Aparicio | 3df0057 | 2016-09-11 23:57:37 -0500 | [diff] [blame] | 84 | env: TARGET=mips-unknown-linux-musl |
| 85 | rust: stable |
| 86 | - os: linux |
Alex Crichton | ed32e3f | 2016-08-28 11:53:09 -0700 | [diff] [blame] | 87 | env: TARGET=mipsel-unknown-linux-musl |
| 88 | rust: stable |
Alex Crichton | dcf47d2 | 2016-10-14 13:54:45 -0700 | [diff] [blame] | 89 | - os: linux |
| 90 | env: TARGET=mips64-unknown-linux-gnuabi64 |
Alex Crichton | 93dbca0 | 2016-12-02 00:02:40 -0800 | [diff] [blame] | 91 | rust: beta |
| 92 | - os: linux |
| 93 | env: TARGET=mips-unknown-linux-gnu |
| 94 | rust: beta |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 95 | |
| 96 | # beta |
| 97 | - os: linux |
| 98 | env: TARGET=x86_64-unknown-linux-gnu |
| 99 | rust: beta |
| 100 | - os: osx |
| 101 | env: TARGET=x86_64-apple-darwin |
| 102 | rust: beta |
| 103 | |
| 104 | # nightly |
| 105 | - os: linux |
| 106 | env: TARGET=x86_64-unknown-linux-gnu |
Alex Crichton | b9430b0 | 2016-12-02 13:33:13 -0800 | [diff] [blame] | 107 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 108 | - os: osx |
| 109 | env: TARGET=x86_64-apple-darwin |
Alex Crichton | b9430b0 | 2016-12-02 13:33:13 -0800 | [diff] [blame] | 110 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 111 | |
| 112 | # QEMU based targets that compile in an emulator |
Alex Crichton | d820c4a | 2016-01-18 11:16:38 -0800 | [diff] [blame] | 113 | - os: linux |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 114 | env: TARGET=x86_64-unknown-freebsd |
| 115 | rust: stable |
Alex Crichton | d820c4a | 2016-01-18 11:16:38 -0800 | [diff] [blame] | 116 | - os: linux |
| 117 | env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2 |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 118 | rust: stable |
| 119 | script: sh ci/run-docker.sh $TARGET |
| 120 | install: |
| 121 | |
Alex Crichton | c284246 | 2016-11-16 14:12:12 -0800 | [diff] [blame] | 122 | cache: cargo |
| 123 | |
Alex Crichton | a3c854d | 2015-09-12 22:03:11 -0700 | [diff] [blame] | 124 | notifications: |
| 125 | email: |
| 126 | on_success: never |
Alex Crichton | 64595ef | 2016-08-26 23:04:58 -0700 | [diff] [blame] | 127 | webhooks: https://buildbot.rust-lang.org/homu/travis |