mirror of
https://github.com/actix/actix-web.git
synced 2024-12-21 07:36:43 +00:00
update travis config
This commit is contained in:
parent
512dd2be63
commit
e668acc596
1 changed files with 6 additions and 6 deletions
12
.travis.yml
12
.travis.yml
|
@ -10,9 +10,9 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- rust: stable
|
- rust: stable
|
||||||
- rust: beta
|
- rust: beta
|
||||||
- rust: nightly-2019-08-10
|
- rust: nightly-2019-11-20
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly-2019-08-10
|
- rust: nightly-2019-11-20
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -25,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-08-10" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-11-20" ]]; 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
|
||||||
|
|
||||||
|
@ -37,8 +37,8 @@ script:
|
||||||
- cargo update
|
- cargo update
|
||||||
- cargo check --all --no-default-features
|
- cargo check --all --no-default-features
|
||||||
- cargo test --all-features --all -- --nocapture
|
- cargo test --all-features --all -- --nocapture
|
||||||
- cd actix-http; cargo test --no-default-features --features="rust-tls" -- --nocapture; cd ..
|
# - cd actix-http; cargo test --no-default-features --features="rustls" -- --nocapture; cd ..
|
||||||
- cd awc; cargo test --no-default-features --features="rust-tls" -- --nocapture; cd ..
|
# - cd awc; cargo test --no-default-features --features="rustls" -- --nocapture; cd ..
|
||||||
|
|
||||||
# Upload docs
|
# Upload docs
|
||||||
after_success:
|
after_success:
|
||||||
|
@ -51,7 +51,7 @@ after_success:
|
||||||
echo "Uploaded documentation"
|
echo "Uploaded documentation"
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-08-10" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-11-20" ]]; then
|
||||||
taskset -c 0 cargo tarpaulin --out Xml --all --all-features
|
taskset -c 0 cargo tarpaulin --out Xml --all --all-features
|
||||||
bash <(curl -s https://codecov.io/bash)
|
bash <(curl -s https://codecov.io/bash)
|
||||||
echo "Uploaded code coverage"
|
echo "Uploaded code coverage"
|
||||||
|
|
Loading…
Reference in a new issue