mirror of
https://github.com/actix/actix-web.git
synced 2025-01-02 13:28:44 +00:00
travis
This commit is contained in:
parent
4227cddd30
commit
3aebe09e5c
1 changed files with 5 additions and 4 deletions
|
@ -11,9 +11,9 @@ matrix:
|
||||||
- rust: 1.31.0
|
- rust: 1.31.0
|
||||||
- rust: stable
|
- rust: stable
|
||||||
- rust: beta
|
- rust: beta
|
||||||
- rust: nightly-2019-03-02
|
- rust: nightly-2019-04-02
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly-2019-03-02
|
- rust: nightly-2019-04-02
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -26,7 +26,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-03-02" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-04-02" ]]; then
|
||||||
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
|
RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@ before_script:
|
||||||
- export PATH=$PATH:~/.cargo/bin
|
- export PATH=$PATH:~/.cargo/bin
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- cargo clean
|
||||||
- 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
|
||||||
|
@ -50,7 +51,7 @@ after_success:
|
||||||
echo "Uploaded documentation"
|
echo "Uploaded documentation"
|
||||||
fi
|
fi
|
||||||
- |
|
- |
|
||||||
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-03-02" ]]; then
|
if [[ "$TRAVIS_RUST_VERSION" == "nightly-2019-04-02" ]]; 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