forked from uutils/uucore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (39 loc) · 848 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
language: rust
rust:
- stable
- beta
os:
- linux
- osx
env:
global: FEATURES='' CARGO_ARGS='--all-features'
matrix:
allow_failures:
- rust: nightly
fast_finish: true
include:
- rust: 1.31.0
- rust: stable
os: linux
- rust: stable
os: osx
- rust: nightly
os: linux
- rust: nightly
os: osx
cache:
directories:
- $HOME/.cargo
script:
- cargo build $CARGO_ARGS --features "$FEATURES"
- cargo test $CARGO_ARGS --features "$FEATURES" --no-fail-fast
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