2015-01-13 16:53:42 +01:00
|
|
|
language: rust
|
2015-09-17 10:01:45 +02:00
|
|
|
sudo: required
|
2015-11-20 18:28:12 +01:00
|
|
|
dist: trusty
|
2015-09-17 10:01:45 +02:00
|
|
|
services:
|
|
|
|
- docker
|
2016-06-10 14:03:23 +02:00
|
|
|
install:
|
|
|
|
- curl https://static.rust-lang.org/rustup.sh |
|
|
|
|
sh -s -- --add-target=$TARGET --disable-sudo -y --prefix=`rustc --print sysroot`
|
2015-01-13 16:53:42 +01:00
|
|
|
script:
|
2016-06-10 14:03:23 +02:00
|
|
|
- cargo build
|
|
|
|
- cargo build --no-default-features
|
|
|
|
- cargo generate-lockfile --manifest-path libc-test/Cargo.toml
|
|
|
|
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
|
|
|
|
sh ci/run-docker.sh $TARGET;
|
2015-11-03 23:22:29 +01:00
|
|
|
else
|
2016-06-10 14:03:23 +02:00
|
|
|
export CARGO_TARGET_DIR=`pwd`/target;
|
|
|
|
sh ci/run.sh $TARGET;
|
2015-11-03 23:22:29 +01:00
|
|
|
fi
|
2016-06-10 14:03:23 +02:00
|
|
|
- rustc ci/style.rs && ./style src
|
2016-06-10 02:33:32 +02:00
|
|
|
osx_image: xcode7.3
|
2015-09-13 02:02:38 +02:00
|
|
|
env:
|
2015-09-17 09:48:36 +02:00
|
|
|
global:
|
2015-10-30 01:50:09 +01:00
|
|
|
secure: eIDEoQdTyglcsTD13zSGotAX2HDhRSXIaaTnVZTThqLSrySOc3/6KY3qmOc2Msf7XaBqfFy9QA+alk7OwfePp253eiy1Kced67ffjjFOytEcRT7FlQiYpcYQD6WNHZEj62/bJBO4LTM9sGtWNCTJVEDKW0WM8mUK7qNuC+honPM=
|
2015-09-17 10:01:45 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
2016-06-10 14:03:23 +02:00
|
|
|
# 1.0.0 compat
|
2015-09-17 10:01:45 +02:00
|
|
|
- os: linux
|
2016-06-10 14:03:23 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
rust: 1.0.0
|
|
|
|
script: cargo build
|
|
|
|
install:
|
|
|
|
|
|
|
|
# build documentation
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
rust: stable
|
|
|
|
script: sh ci/dox.sh
|
|
|
|
|
|
|
|
# stable compat
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
rust: stable
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=i686-unknown-linux-gnu
|
|
|
|
rust: stable
|
|
|
|
- os: osx
|
|
|
|
env: TARGET=x86_64-apple-darwin
|
|
|
|
rust: stable
|
|
|
|
- os: osx
|
|
|
|
env: TARGET=i686-apple-darwin
|
|
|
|
rust: stable
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=arm-linux-androideabi
|
|
|
|
rust: stable
|
2015-09-17 10:01:45 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=x86_64-unknown-linux-musl
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: stable
|
2016-08-27 04:48:54 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=i686-unknown-linux-musl
|
|
|
|
rust: stable
|
2015-09-17 10:01:45 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=arm-unknown-linux-gnueabihf
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: stable
|
2015-09-18 00:18:18 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=aarch64-unknown-linux-gnu
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: stable
|
2015-09-20 08:20:53 +02:00
|
|
|
- os: osx
|
|
|
|
env: TARGET=i386-apple-ios
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: stable
|
2015-09-20 08:20:53 +02:00
|
|
|
- os: osx
|
|
|
|
env: TARGET=x86_64-apple-ios
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: stable
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=x86_64-rumprun-netbsd
|
|
|
|
rust: stable
|
2016-08-27 07:54:58 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=powerpc-unknown-linux-gnu
|
|
|
|
rust: stable
|
2016-08-27 08:11:45 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=powerpc64-unknown-linux-gnu
|
|
|
|
rust: stable
|
2016-09-12 06:57:37 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=mips-unknown-linux-musl
|
|
|
|
rust: stable
|
2016-08-28 20:53:09 +02:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=mipsel-unknown-linux-musl
|
|
|
|
rust: stable
|
2016-06-10 14:03:23 +02:00
|
|
|
|
|
|
|
# beta
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
rust: beta
|
|
|
|
- os: osx
|
|
|
|
env: TARGET=x86_64-apple-darwin
|
|
|
|
rust: beta
|
|
|
|
|
|
|
|
# nightly
|
2015-11-27 18:40:37 +01:00
|
|
|
- os: linux
|
2016-06-10 14:03:23 +02:00
|
|
|
env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
rust: nightly
|
|
|
|
- os: osx
|
|
|
|
env: TARGET=x86_64-apple-darwin
|
2016-03-03 22:40:09 +01:00
|
|
|
rust: nightly
|
2016-01-18 20:16:38 +01:00
|
|
|
- os: linux
|
2016-06-10 14:03:23 +02:00
|
|
|
env: TARGET=mips-unknown-linux-gnu
|
|
|
|
# not sure why this has to be nightly...
|
2016-01-18 20:16:38 +01:00
|
|
|
rust: nightly
|
2016-06-10 14:03:23 +02:00
|
|
|
|
|
|
|
# QEMU based targets that compile in an emulator
|
|
|
|
- os: linux
|
|
|
|
env: TARGET=x86_64-unknown-freebsd
|
|
|
|
rust: stable
|
2016-01-18 20:16:38 +01:00
|
|
|
- os: linux
|
|
|
|
env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: stable
|
|
|
|
script: sh ci/run-docker.sh $TARGET
|
|
|
|
install:
|
|
|
|
|
2015-09-13 07:03:11 +02:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
2016-08-27 08:04:58 +02:00
|
|
|
webhooks: https://buildbot.rust-lang.org/homu/travis
|