2014-09-13 23:02:29 +00:00
|
|
|
language: rust
|
2016-07-29 11:50:59 +00:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- rust: stable
|
2016-07-29 12:30:56 +00:00
|
|
|
os: linux
|
|
|
|
env: FEATURES=''
|
|
|
|
- rust: stable
|
|
|
|
os: osx
|
|
|
|
env: FEATURES=''
|
|
|
|
- rust: beta
|
|
|
|
os: linux
|
2016-07-29 11:50:59 +00:00
|
|
|
env: FEATURES=''
|
|
|
|
- rust: beta
|
2016-07-29 12:30:56 +00:00
|
|
|
os: osx
|
2016-07-29 11:50:59 +00:00
|
|
|
env: FEATURES=''
|
|
|
|
- rust: nightly
|
2016-07-29 12:30:56 +00:00
|
|
|
os: linux
|
|
|
|
env: FEATURES=nightly
|
|
|
|
- rust: nightly
|
|
|
|
os: osx
|
2016-07-29 11:50:59 +00:00
|
|
|
env: FEATURES=nightly
|
2017-11-14 06:50:58 +00:00
|
|
|
- rust: nightly
|
|
|
|
os: linux
|
|
|
|
env: FEATURES=nightly,redox CC=x86_64-unknown-redox-gcc CARGO_ARGS='--no-default-features --target=x86_64-unknown-redox' REDOX=1
|
2015-12-25 08:07:53 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- $HOME/.cargo
|
2017-11-14 06:50:58 +00:00
|
|
|
sudo: true
|
|
|
|
before_install:
|
|
|
|
- if [ $REDOX ]; then ./.travis/redox-toolchain.sh; fi
|
2013-10-22 14:11:56 +00:00
|
|
|
script:
|
2017-11-14 06:50:58 +00:00
|
|
|
- cargo build $CARGO_ARGS --features "$FEATURES"
|
|
|
|
- if [ ! $REDOX ]; then cargo test $CARGO_ARGS --features "$FEATURES" --no-fail-fast; fi
|