66 lines
1.7 KiB
YAML
66 lines
1.7 KiB
YAML
language: rust
|
|
sudo: required
|
|
dist: trusty
|
|
rust:
|
|
- 1.0.0
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
services:
|
|
- docker
|
|
script:
|
|
- if [[ $TRAVIS_RUST_VERSION = nightly* ]]; then
|
|
sh ci/run-travis.sh;
|
|
elif [[ $TRAVIS_RUST_VERSION = "1.0.0" ]]; then
|
|
cargo build;
|
|
else
|
|
cargo build &&
|
|
cargo build --no-default-features &&
|
|
rustc ci/style.rs && ./style src;
|
|
fi
|
|
os:
|
|
- linux
|
|
- osx
|
|
env:
|
|
matrix:
|
|
- ARCH=x86_64
|
|
- ARCH=i686
|
|
global:
|
|
secure: eIDEoQdTyglcsTD13zSGotAX2HDhRSXIaaTnVZTThqLSrySOc3/6KY3qmOc2Msf7XaBqfFy9QA+alk7OwfePp253eiy1Kced67ffjjFOytEcRT7FlQiYpcYQD6WNHZEj62/bJBO4LTM9sGtWNCTJVEDKW0WM8mUK7qNuC+honPM=
|
|
matrix:
|
|
include:
|
|
- os: linux
|
|
env: TARGET=arm-linux-androideabi DOCKER=alexcrichton/rust-slave-android:2015-11-22
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=x86_64-unknown-linux-musl
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=arm-unknown-linux-gnueabihf
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=mips-unknown-linux-gnu DOCKER=alexcrichton/rust-libc-mips:2016-01-10
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=aarch64-unknown-linux-gnu
|
|
rust: nightly
|
|
- os: osx
|
|
env: TARGET=i386-apple-ios
|
|
rust: nightly
|
|
- os: osx
|
|
env: TARGET=x86_64-apple-ios
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=x86_64-rumprun-netbsd DOCKER=alexcrichton/rust-libc-rumprun:2015-11-27
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=x86_64-unknown-freebsd QEMU=freebsd.qcow2
|
|
rust: nightly
|
|
- os: linux
|
|
env: TARGET=x86_64-unknown-openbsd QEMU=openbsd.qcow2
|
|
rust: nightly
|
|
notifications:
|
|
email:
|
|
on_success: never
|
|
webhooks: http://buildbot.rust-lang.org/homu/travis
|