diff options
author | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-05-04 19:47:21 -0400 |
---|---|---|
committer | ClementTsang <cjhtsang@uwaterloo.ca> | 2020-05-04 19:47:21 -0400 |
commit | 0363620647329fa9f471808881288addb44dbd05 (patch) | |
tree | b2e00151eda97bcd734cb99022462f71b689a728 | |
parent | 477de1c227f0f51b70d89c84e59ab3a3167761cc (diff) |
chore: update exclusions for tags
-rw-r--r-- | .travis.yml | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 39cefdba..4a132381 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,10 @@ os: jobs: fast_finish: true exclude: - - rust: beta - branch: /^\d+\.\d+(\.\d+)?(-\S*)?$/ - - rust: 1.40.0 - branch: /^\d+\.\d+(\.\d+)?(-\S*)?$/ + - if: tag IS present + rust: beta + - if: tag IS present + rust: 1.40.0 branches: only: - master @@ -41,15 +41,12 @@ script: cargo test --verbose --target $TARGET; fi -# Need to cache the whole `.cargo` directory to keep .crates.toml for cargo-update to work -cache: - directories: - - /home/travis/.cargo - -# But don't cache the cargo registry. before_cache: - rm -rf /home/travis/.cargo/git - rm -rf /home/travis/.cargo/registry +cache: + directories: + - /home/travis/.cargo notifications: email: |