mirror of https://github.com/fafhrd91/actix-net
update travis config
This commit is contained in:
parent
5a4ce470f9
commit
daaae9d2f0
11
.travis.yml
11
.travis.yml
|
@ -10,10 +10,9 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- rust: stable
|
- rust: stable
|
||||||
- rust: beta
|
- rust: beta
|
||||||
- rust: 1.37.0
|
- rust: nightly-2019-11-07
|
||||||
- rust: nightly-2019-06-15
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly-2019-06-15
|
- rust: nightly-2019-11-07
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -26,7 +25,7 @@ before_install:
|
||||||
- sudo apt-get install -y openssl libssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
- sudo apt-get install -y openssl libssl-dev libelf-dev libdw-dev cmake gcc binutils-dev libiberty-dev
|
||||||
|
|
||||||
before_cache: |
|
before_cache: |
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-06-15" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-11-07" ]]; then
|
||||||
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --version 0.6.11 cargo-tarpaulin
|
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install --version 0.6.11 cargo-tarpaulin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -36,14 +35,14 @@ before_script:
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_RUST_VERSION" != "nightly-2019-06-15" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" != "nightly-2019-11-07" ]]; then
|
||||||
cargo clean
|
cargo clean
|
||||||
cargo test --all --all-features -- --nocapture
|
cargo test --all --all-features -- --nocapture
|
||||||
fi
|
fi
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-06-15" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-11-07" ]]; then
|
||||||
taskset -c 0 cargo tarpaulin --all --all-features --out Xml
|
taskset -c 0 cargo tarpaulin --all --all-features --out Xml
|
||||||
echo "Uploaded code coverage"
|
echo "Uploaded code coverage"
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash)
|
||||||
|
|
Loading…
Reference in New Issue