Add travis caching.
Reference for commands: https://levans.fr/rust_travis_cache.html
This commit is contained in:
parent
2ee3b05bd3
commit
6ae0083843
@ -1,4 +1,9 @@
|
|||||||
language: rust
|
language: rust
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- /home/travis/.cargo
|
||||||
|
before_cache:
|
||||||
|
- rm -rf /home/travis/.cargo/registry
|
||||||
before_install:
|
before_install:
|
||||||
- curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
|
- curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
|
||||||
- unzip protoc-3.4.0-linux-x86_64.zip -d protoc3
|
- unzip protoc-3.4.0-linux-x86_64.zip -d protoc3
|
||||||
|
Loading…
Reference in New Issue
Block a user