libc-rs/.travis.yml

133 lines
3.3 KiB
YAML
Raw Normal View History

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
install:
- if [ -z "$NO_ADD" ]; then rustup target add $TARGET; fi
2015-01-13 16:53:42 +01:00
script:
- 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;
else
export CARGO_TARGET_DIR=`pwd`/target;
sh ci/run.sh $TARGET;
fi
- rustc ci/style.rs && ./style src
2015-09-13 02:02:38 +02:00
env:
2015-09-17 09:48:36 +02:00
global:
2016-11-19 19:10:43 +01:00
secure: "e2/3QjgRN9atOuSHp22TrYG7QVKcYUWY48Hi9b60w+r1+BhPkTseIJLte7WefRhdXtqpjjUJTooKDhnurFOeHaCT+nmBgiv+FPU893sBl4bhesY4m0vgUJVbNZcs6lTImYekWVb+aqjGdgV/XAgCw7c3kPmrZV0MzGDWL64Xaps="
2015-09-17 10:01:45 +02:00
matrix:
include:
# 1.0.0 compat
2015-09-17 10:01:45 +02:00
- os: linux
env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: 1.0.0
script: cargo build
install:
# build documentation
- os: linux
env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: nightly
script: sh ci/dox.sh
# stable compat
- os: linux
env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: stable
- os: linux
env: TARGET=i686-unknown-linux-gnu
rust: stable
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: stable
- os: osx
env: TARGET=i686-apple-darwin
rust: stable
- os: linux
env: TARGET=arm-linux-androideabi
rust: stable
- os: linux
env: TARGET=aarch64-linux-android
rust: stable
- os: linux
env: TARGET=i686-linux-android
rust: stable
2015-09-17 10:01:45 +02:00
- os: linux
env: TARGET=x86_64-unknown-linux-musl
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
rust: stable
2015-09-18 00:18:18 +02:00
- os: linux
env: TARGET=aarch64-unknown-linux-gnu
rust: stable
2015-09-20 08:20:53 +02:00
- os: osx
2017-01-17 00:12:06 +01:00
osx_image: xcode8.2
2015-09-20 08:20:53 +02:00
env: TARGET=i386-apple-ios
rust: stable
2015-09-20 08:20:53 +02:00
- os: osx
2017-01-17 00:12:06 +01:00
osx_image: xcode8.2
2015-09-20 08:20:53 +02:00
env: TARGET=x86_64-apple-ios
rust: stable
- os: linux
env: TARGET=x86_64-rumprun-netbsd
rust: stable
- 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: beta
- os: linux
env: TARGET=mips-unknown-linux-musl
rust: stable
- os: linux
env: TARGET=mipsel-unknown-linux-musl
rust: stable
2016-10-14 22:54:45 +02:00
- os: linux
env: TARGET=mips64-unknown-linux-gnuabi64
2016-12-02 09:02:40 +01:00
rust: beta
- os: linux
env: TARGET=mips-unknown-linux-gnu
rust: beta
# beta
- os: linux
env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: beta
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: beta
# nightly
2015-11-27 18:40:37 +01:00
- os: linux
env: TARGET=x86_64-unknown-linux-gnu NO_ADD=1
rust: nightly
- os: osx
env: TARGET=x86_64-apple-darwin NO_ADD=1
rust: nightly
# QEMU based targets that compile in an emulator
- os: linux
env: TARGET=x86_64-unknown-freebsd
rust: stable
- os: linux
env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
rust: stable
script: sh ci/run-docker.sh $TARGET
install:
cache: cargo
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