process: ci: move cargo tool installation to after_success
@@ -26,15 +26,15 @@ matrix:
- libssl-dev
before_script:
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
- - command -v cargo-install-update >/dev/null || cargo install cargo-update
- - command -v cargo-tarpaulin >/dev/null ||
- RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
- - cargo install-update --all
script:
- cargo test
- cargo doc --no-deps --all-features
after_success:
- travis-cargo --only nightly doc-upload
+ - command -v cargo-install-update >/dev/null || cargo install cargo-update
+ - command -v cargo-tarpaulin >/dev/null ||
+ RUSTFLAGS="--cfg procmacro2_semver_exempt" cargo install cargo-tarpaulin
+ - cargo install-update --all
- cargo tarpaulin -v --forward --out Xml
- bash <(curl -s https://codecov.io/bash)
