1
0
mirror of https://github.com/vbrandl/bind9-api.git synced 2024-11-22 11:13:49 +01:00

Cache build directory to speed up CI

This commit is contained in:
Valentin Brandl 2018-07-15 19:58:12 +02:00
parent 28b486a9b0
commit a5506eadfe
Signed by: vbrandl
GPG Key ID: CAD4DA1A789125F9

View File

@ -4,6 +4,10 @@ services:
script: script:
- docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder sh -c 'sudo chown -R rust . && cargo test && cargo build --release' - docker run --rm -it -v "$(pwd)":/home/rust/src ekidd/rust-musl-builder sh -c 'sudo chown -R rust . && cargo test && cargo build --release'
cache:
directories:
- ./target/
before_deploy: before_deploy:
- ./ci/before_deploy.sh - ./ci/before_deploy.sh