chore: update exclusions for tags
This commit is contained in:
parent
477de1c227
commit
0363620647
17
.travis.yml
17
.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:
|
||||
|
|
Loading…
Reference in New Issue