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 |
Alex Crichton | a097ff6 | 2016-08-26 19:48:54 -0700 | [diff] [blame] | 59 | env: TARGET=i686-unknown-linux-musl |
| 60 | rust: stable |
| 61 | - os: linux |
Alex Crichton | 12240ad | 2015-09-17 01:01:45 -0700 | [diff] [blame] | 62 | env: TARGET=arm-unknown-linux-gnueabihf |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 63 | rust: stable |
Alex Crichton | 684cfa4 | 2015-09-17 15:18:18 -0700 | [diff] [blame] | 64 | - os: linux |
| 65 | env: TARGET=aarch64-unknown-linux-gnu |
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=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 |
| 71 | env: TARGET=x86_64-apple-ios |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 72 | rust: stable |
| 73 | - os: linux |
| 74 | env: TARGET=x86_64-rumprun-netbsd |
| 75 | rust: stable |
Alex Crichton | 8018a50 | 2016-08-26 22:54:58 -0700 | [diff] [blame] | 76 | - os: linux |
| 77 | env: TARGET=powerpc-unknown-linux-gnu |
| 78 | rust: stable |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 79 | |
| 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 Crichton | c02a5c2 | 2016-03-03 13:40:09 -0800 | [diff] [blame] | 94 | rust: nightly |
Alex Crichton | 49d7bca | 2015-11-27 09:40:37 -0800 | [diff] [blame] | 95 | - os: linux |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 96 | env: TARGET=mips-unknown-linux-gnu |
| 97 | # not sure why this has to be nightly... |
Alex Crichton | c02a5c2 | 2016-03-03 13:40:09 -0800 | [diff] [blame] | 98 | rust: nightly |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 99 | |
| 100 | # QEMU based targets that compile in an emulator |
Alex Crichton | d820c4a | 2016-01-18 11:16:38 -0800 | [diff] [blame] | 101 | - os: linux |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 102 | env: TARGET=x86_64-unknown-freebsd |
| 103 | rust: stable |
Alex Crichton | d820c4a | 2016-01-18 11:16:38 -0800 | [diff] [blame] | 104 | - os: linux |
| 105 | env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2 |
Alex Crichton | 3eb4a48 | 2016-06-10 05:03:23 -0700 | [diff] [blame] | 106 | rust: stable |
| 107 | script: sh ci/run-docker.sh $TARGET |
| 108 | install: |
| 109 | |
Alex Crichton | a3c854d | 2015-09-12 22:03:11 -0700 | [diff] [blame] | 110 | notifications: |
| 111 | email: |
| 112 | on_success: never |
Alex Crichton | 64595ef | 2016-08-26 23:04:58 -0700 | [diff] [blame^] | 113 | webhooks: https://buildbot.rust-lang.org/homu/travis |