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 |
Axel Viala | 26ee782 | 2016-06-10 02:33:32 +0200 | [diff] [blame] | 20 | osx_image: xcode7.3 |
Alex Crichton | 985744f | 2015-09-12 17:02:38 -0700 | [diff] [blame] | 21 | env: |
Alex Crichton | 9eca468 | 2015-09-17 00:48:36 -0700 | [diff] [blame] | 22 | global: |
Alex Crichton | 4e43d81 | 2015-10-29 17:50:09 -0700 | [diff] [blame] | 23 | secure: eIDEoQdTyglcsTD13zSGotAX2HDhRSXIaaTnVZTThqLSrySOc3/6KY3qmOc2Msf7XaBqfFy9QA+alk7OwfePp253eiy1Kced67ffjjFOytEcRT7FlQiYpcYQD6WNHZEj62/bJBO4LTM9sGtWNCTJVEDKW0WM8mUK7qNuC+honPM= |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 24 | matrix: |
| 25 | include: |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 26 | # 1.0.0 compat |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 27 | - os: linux |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 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 |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 55 | - os: linux |
| 56 | env: TARGET=x86_64-unknown-linux-musl |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 57 | rust: stable |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 58 | - os: linux |
| 59 | env: TARGET=arm-unknown-linux-gnueabihf |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 60 | rust: stable |
Alex Crichton | 684cfa4 | 2015-09-17 15:18:18 -0700 | [diff] [blame] | 61 | - os: linux |
| 62 | env: TARGET=aarch64-unknown-linux-gnu |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 63 | rust: stable |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 64 | - os: osx |
| 65 | env: TARGET=i386-apple-ios |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 66 | rust: stable |
Alex Crichton | baef611 | 2015-09-19 23:20:53 -0700 | [diff] [blame] | 67 | - os: osx |
| 68 | env: TARGET=x86_64-apple-ios |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 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 |
| 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 Crichton | c02a5c2 | 2016-03-03 13:40:09 -0800 | [diff] [blame] | 88 | rust: nightly |
Alex Crichton | 49d7bca | 2015-11-27 09:40:37 -0800 | [diff] [blame] | 89 | - os: linux |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 90 | env: TARGET=mips-unknown-linux-gnu |
| 91 | # not sure why this has to be nightly... |
Alex Crichton | c02a5c2 | 2016-03-03 13:40:09 -0800 | [diff] [blame] | 92 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 93 | |
| 94 | # QEMU based targets that compile in an emulator |
Alex Crichton | d820c4a | 2016-01-18 11:16:38 -0800 | [diff] [blame] | 95 | - os: linux |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 96 | env: TARGET=x86_64-unknown-freebsd |
| 97 | rust: stable |
Alex Crichton | d820c4a | 2016-01-18 11:16:38 -0800 | [diff] [blame] | 98 | - os: linux |
| 99 | env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2 |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame^] | 100 | rust: stable |
| 101 | script: sh ci/run-docker.sh $TARGET |
| 102 | install: |
| 103 | |
Alex Crichton | a3c854d | 2015-09-12 22:03:11 -0700 | [diff] [blame] | 104 | notifications: |
| 105 | email: |
| 106 | on_success: never |
Alex Crichton | 2ff0e52 | 2016-03-10 17:02:33 -0800 | [diff] [blame] | 107 | webhooks: http://buildbot.rust-lang.org/homu/travis |