From daaae9d2f09c53bb42dea7aae3019c07e7298826 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Mon, 11 Nov 2019 02:48:44 +0600 Subject: [PATCH] update travis config --- .travis.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6eaf6d1e..5e18c3f6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,10 +10,9 @@ matrix: include: - rust: stable - rust: beta - - rust: 1.37.0 - - rust: nightly-2019-06-15 + - rust: nightly-2019-11-07 allow_failures: - - rust: nightly-2019-06-15 + - rust: nightly-2019-11-07 env: 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 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 fi @@ -36,14 +35,14 @@ before_script: script: - | - if [[ "$TRAVIS_RUST_VERSION" != "nightly-2019-06-15" ]]; then + if [[ "$TRAVIS_RUST_VERSION" != "nightly-2019-11-07" ]]; then cargo clean cargo test --all --all-features -- --nocapture fi 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 echo "Uploaded code coverage" bash <(curl -s https://codecov.io/bash)