libc-rs/.travis.yml

108 lines
3.1 KiB
YAML
Raw Normal View History

2015-01-13 16:53:42 +01:00
language: rust
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:
# 1.13.0 compat
2018-11-19 15:49:56 +01:00
- env: TARGET=x86_64-unknown-linux-gnu
rust: 1.13.0
script: rm -f Cargo.lock && cargo build
2018-11-19 15:49:56 +01:00
install: true
# build documentation
2018-11-19 15:49:56 +01:00
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
script: sh ci/dox.sh
2018-11-19 15:49:56 +01:00
install: true
# stable compat
2018-11-19 15:49:56 +01:00
- env: TARGET=x86_64-unknown-linux-gnu
install: true
- env: TARGET=i686-unknown-linux-gnu
- 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
- os: osx
env: TARGET=i686-apple-darwin
2018-10-29 15:28:19 +01:00
osx_image: xcode10
- 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
- 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
- env: TARGET=arm-unknown-linux-musleabihf
- env: TARGET=aarch64-unknown-linux-gnu
- env: TARGET=aarch64-unknown-linux-musl
- 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
- 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
- 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
- env: TARGET=asmjs-unknown-emscripten
- env: TARGET=wasm32-unknown-emscripten
# beta
2018-11-19 15:49:56 +01:00
- env: TARGET=x86_64-unknown-linux-gnu
rust: beta
2018-11-19 15:49:56 +01:00
install: true
- 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
rust: beta
2018-11-19 15:49:56 +01:00
install: true
# nightly
2018-11-19 15:49:56 +01:00
- env: TARGET=x86_64-unknown-linux-gnu
rust: nightly
2018-11-19 15:49:56 +01:00
install: true
- 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
rust: nightly
2018-11-19 15:49:56 +01:00
install: true
# not available on stable
# without --release the build fails
# see https://github.com/rust-lang/rust/issues/45417
- env: TARGET=x86_64-unknown-linux-gnux32 OPT="--release"
rust: nightly
# QEMU based targets that compile in an emulator
- env: TARGET=x86_64-unknown-freebsd
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