adding cache to test stage so it doesn't have to compile

This commit is contained in:
David Bittner
2019-04-26 15:16:38 -04:00
parent 2efa7aa7e3
commit 4693af7924

View File

@@ -16,7 +16,7 @@ build:
- cargo build --release - cargo build --release
cache: cache:
key: cache-key key: ansi-parse
paths: paths:
- target - target
- cargo_dir - cargo_dir
@@ -26,3 +26,9 @@ test:
script: script:
- rustc --version && cargo --version # Print version info for debugging - rustc --version && cargo --version # Print version info for debugging
- cargo test --all --verbose - cargo test --all --verbose
cache:
key: ansi-parse
paths:
- target
- cargo_dir