2015-01-13 16:53:42 +01:00
|
|
|
language: rust
|
2017-07-07 23:18:19 +02:00
|
|
|
rust: stable
|
2015-09-17 10:01:45 +02:00
|
|
|
sudo: required
|
2015-11-20 18:28:12 +01:00
|
|
|
dist: trusty
|
2018-11-19 15:49:56 +01:00
|
|
|
services: docker
|
|
|
|
|
2015-09-17 10:01:45 +02:00
|
|
|
matrix:
|
|
|
|
include:
|
2018-04-17 00:30:50 +02:00
|
|
|
# 1.13.0 compat
|
2018-11-19 15:49:56 +01:00
|
|
|
- env: TARGET=x86_64-unknown-linux-gnu
|
2018-04-17 00:30:50 +02:00
|
|
|
rust: 1.13.0
|
2017-10-18 21:28:48 +02:00
|
|
|
script: rm -f Cargo.lock && cargo build
|
2018-11-19 15:49:56 +01:00
|
|
|
install: true
|
2016-06-10 14:03:23 +02:00
|
|
|
|
|
|
|
# build documentation
|
2018-11-19 15:49:56 +01:00
|
|
|
- env: TARGET=x86_64-unknown-linux-gnu
|
2016-12-02 22:33:13 +01:00
|
|
|
rust: nightly
|
2016-06-10 14:03:23 +02:00
|
|
|
script: sh ci/dox.sh
|
2018-11-19 15:49:56 +01:00
|
|
|
install: true
|
2016-06-10 14:03:23 +02:00
|
|
|
|
|
|
|
# stable compat
|
2018-11-19 15:49:56 +01:00
|
|
|
- env: TARGET=x86_64-unknown-linux-gnu
|
|
|
|
install: true
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=i686-unknown-linux-gnu
|
2016-06-10 14:03:23 +02:00
|
|
|
- os: osx
|
2018-11-19 15:49:56 +01:00
|
|
|
env: TARGET=x86_64-apple-darwin
|
2018-10-29 15:28:19 +01:00
|
|
|
osx_image: xcode10
|
2018-11-19 15:49:56 +01:00
|
|
|
install: true
|
2016-06-10 14:03:23 +02:00
|
|
|
- os: osx
|
|
|
|
env: TARGET=i686-apple-darwin
|
2018-10-29 15:28:19 +01:00
|
|
|
osx_image: xcode10
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=arm-linux-androideabi
|
|
|
|
- env: TARGET=aarch64-linux-android
|
2017-10-28 03:31:05 +02:00
|
|
|
# FIXME(#826) should reenable
|
|
|
|
#- env: TARGET=i686-linux-android
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=x86_64-linux-android
|
|
|
|
- env: TARGET=x86_64-unknown-linux-musl
|
|
|
|
- env: TARGET=i686-unknown-linux-musl
|
|
|
|
- env: TARGET=arm-unknown-linux-gnueabihf
|
2017-10-18 21:28:48 +02:00
|
|
|
- env: TARGET=arm-unknown-linux-musleabihf
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=aarch64-unknown-linux-gnu
|
2017-10-18 21:28:48 +02:00
|
|
|
- env: TARGET=aarch64-unknown-linux-musl
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=powerpc-unknown-linux-gnu
|
|
|
|
- env: TARGET=powerpc64-unknown-linux-gnu
|
2017-10-24 23:04:02 +02:00
|
|
|
- env: TARGET=powerpc64le-unknown-linux-gnu
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=mips-unknown-linux-musl
|
|
|
|
- env: TARGET=mipsel-unknown-linux-musl
|
|
|
|
- env: TARGET=mips64-unknown-linux-gnuabi64
|
2017-10-27 12:21:40 +02:00
|
|
|
- env: TARGET=mips64el-unknown-linux-gnuabi64
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=mips-unknown-linux-gnu
|
|
|
|
- env: TARGET=s390x-unknown-linux-gnu
|
2018-05-10 22:30:51 +02:00
|
|
|
- env: TARGET=sparc64-unknown-linux-gnu
|
2017-08-27 05:39:46 +02:00
|
|
|
- env: TARGET=asmjs-unknown-emscripten
|
|
|
|
- env: TARGET=wasm32-unknown-emscripten
|
2016-06-10 14:03:23 +02:00
|
|
|
|
|
|
|
# beta
|
2018-11-19 15:49:56 +01:00
|
|
|
- env: TARGET=x86_64-unknown-linux-gnu
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: beta
|
2018-11-19 15:49:56 +01:00
|
|
|
install: true
|
2016-06-10 14:03:23 +02:00
|
|
|
- os: osx
|
2018-11-19 15:49:56 +01:00
|
|
|
env: TARGET=x86_64-apple-darwin
|
2018-10-29 16:18:16 +01:00
|
|
|
osx_image: xcode10
|
2016-06-10 14:03:23 +02:00
|
|
|
rust: beta
|
2018-11-19 15:49:56 +01:00
|
|
|
install: true
|
2016-06-10 14:03:23 +02:00
|
|
|
|
|
|
|
# nightly
|
2018-11-19 15:49:56 +01:00
|
|
|
- env: TARGET=x86_64-unknown-linux-gnu
|
2016-12-02 22:33:13 +01:00
|
|
|
rust: nightly
|
2018-11-19 15:49:56 +01:00
|
|
|
install: true
|
2016-06-10 14:03:23 +02:00
|
|
|
- os: osx
|
2018-11-19 15:49:56 +01:00
|
|
|
env: TARGET=x86_64-apple-darwin
|
2018-10-29 16:18:16 +01:00
|
|
|
osx_image: xcode10
|
2016-12-02 22:33:13 +01:00
|
|
|
rust: nightly
|
2018-11-19 15:49:56 +01:00
|
|
|
install: true
|
2017-10-27 15:06:40 +02:00
|
|
|
# not available on stable
|
2017-10-27 17:15:32 +02:00
|
|
|
# without --release the build fails
|
|
|
|
# see https://github.com/rust-lang/rust/issues/45417
|
2017-10-27 15:06:40 +02:00
|
|
|
- env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release"
|
|
|
|
rust: nightly
|
2016-06-10 14:03:23 +02:00
|
|
|
|
|
|
|
# QEMU based targets that compile in an emulator
|
2017-07-07 23:18:19 +02:00
|
|
|
- env: TARGET=x86_64-unknown-freebsd
|
2016-06-10 14:03:23 +02:00
|
|
|
|
2018-11-19 15:24:41 +01:00
|
|
|
- name: "Shellcheck"
|
|
|
|
install: true
|
|
|
|
script:
|
|
|
|
- shellcheck --version
|
|
|
|
- shellcheck ci/*.sh
|
|
|
|
|
2018-11-19 15:49:56 +01:00
|
|
|
install: rustup target add $TARGET
|
|
|
|
script:
|
|
|
|
- cargo generate-lockfile --manifest-path libc-test/Cargo.toml
|
|
|
|
- if [[ $TRAVIS_OS_NAME = "linux" ]]; then
|
|
|
|
sh ci/run-docker.sh $TARGET;
|
|
|
|
else
|
|
|
|
export CARGO_TARGET_DIR=`pwd`/target;
|
|
|
|
sh ci/run.sh $TARGET;
|
|
|
|
fi
|
|
|
|
- rustc ci/style.rs && ./style src
|
|
|
|
env:
|
|
|
|
global:
|
|
|
|
secure: "e2/3QjgRN9atOuSHp22TrYG7QVKcYUWY48Hi9b60w+r1+BhPkTseIJLte7WefRhdXtqpjjUJTooKDhnurFOeHaCT+nmBgiv+FPU893sBl4bhesY4m0vgUJVbNZcs6lTImYekWVb+aqjGdgV/XAgCw7c3kPmrZV0MzGDWL64Xaps="
|
|
|
|
|
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
|