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

Commit a32f03a

Browse files
committed
Use travis cache instead of custom VMˆ
1 parent 17e6166 commit a32f03a

File tree

4 files changed

+1
-12
lines changed

4 files changed

+1
-12
lines changed

.travis.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ cache:
33
directories:
44
- "$HOME/.rustup"
55
- "$HOME/.cargo"
6+
- "$HOME/.cache/sccache"
67
sudo: required
78
rust: nightly-2018-06-24
89
before_install:
910
- openssl aes-256-cbc -K $encrypted_13ab58161701_key -iv $encrypted_13ab58161701_iv -in .travis/gcloud-authentication.json.enc -out .travis/gcloud-authentication.json -d
10-
- openssl aes-256-cbc -K $encrypted_13ab58161701_key -iv $encrypted_13ab58161701_iv -in .travis/travis_build_cache.enc -out .travis/travis_build_cache -d
11-
- chmod 600 .travis/travis_build_cache
1211
install: true
1312
services:
1413
- docker
@@ -24,16 +23,13 @@ before_script:
2423
- docker pull coblox/bitcoin-core:0.16.1-r2
2524
- "./setup.sh"
2625
- ".travis/capture-docker-traffic.sh"
27-
- ".travis/download-cache.sh"
2826
- which sccache || cargo install sccache
2927
script:
3028
- "./check-fmt.sh"
3129
- RUSTC_WRAPPER=~/.cargo/bin/sccache cargo build --all
3230
- RUSTC_WRAPPER=~/.cargo/bin/sccache cargo test --all
3331
after_script:
3432
- expr $TRAVIS_TEST_RESULT > /dev/null && .travis/upload-container-logs-to-gcs.sh
35-
- ".travis/upload-cache.sh"
36-
before_cache:
3733
notifications:
3834
email: false
3935
slack:

.travis/download-cache.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

.travis/travis_build_cache.enc

-1.64 KB
Binary file not shown.

.travis/upload-cache.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)