Skip to content
This repository has been archived by the owner on Mar 23, 2021. It is now read-only.

Optimize build duration #203

Merged
merged 2 commits into from
Aug 16, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: rust
cache:
cargo: true
directories:
- "$HOME/.rustup"
timeout: 300
- "$HOME/.cargo"
- "$HOME/.cache/sccache"
sudo: required
rust: nightly-2018-06-24
before_install:
Expand All @@ -23,10 +23,11 @@ before_script:
- docker pull coblox/bitcoin-core:0.16.1-r2
- "./setup.sh"
- ".travis/capture-docker-traffic.sh"
- which sccache || cargo install sccache
script:
- "./check-fmt.sh"
- cargo build --all
- cargo test --all
- RUSTC_WRAPPER=~/.cargo/bin/sccache cargo build --all
- RUSTC_WRAPPER=~/.cargo/bin/sccache cargo test --all
after_script:
- expr $TRAVIS_TEST_RESULT > /dev/null && .travis/upload-container-logs-to-gcs.sh
notifications:
Expand Down