coreutils/.travis.yml

51 lines
1.1 KiB
YAML
Raw Normal View History

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
- 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
2017-12-30 08:01:55 +00:00
cache:
2017-12-30 08:01:55 +00:00
directories:
- $HOME/.cargo
sudo: true
2017-12-30 08:01:55 +00:00
before_install:
- if [ $REDOX ]; then ./.travis/redox-toolchain.sh; fi
2017-12-30 08:01:55 +00:00
2013-10-22 14:11:56 +00:00
script:
- cargo build $CARGO_ARGS --features "$FEATURES"
- if [ ! $REDOX ]; then cargo test $CARGO_ARGS --features "$FEATURES" --no-fail-fast; fi
2017-12-30 08:01:55 +00:00
addons:
apt:
packages:
- libssl-dev
after_success: |
if [ "$TRAVIS_OS_NAME" = linux -a "$TRAVIS_RUST_VERSION" = stable ]; then
bash <(curl https://raw.githubusercontent.com/xd009642/tarpaulin/master/travis-install.sh)
cargo tarpaulin --out Xml
bash <(curl -s https://codecov.io/bash)
fi