Skip to content

Commit

Permalink
Merge pull request cobalt-org#170 from epage/ci
Browse files Browse the repository at this point in the history
chore: Limit CI to master
  • Loading branch information
epage authored Apr 5, 2018
2 parents 5a240bb + 7dae3b8 commit 21f818b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ rust:
- nightly
matrix:
include:
- rust: 1.24.0 # `stable`: Locking down for consistent behavior
env: RUSTFMT
- env: RUSTFMT
rust: 1.24.0 # `stable`: Locking down for consistent behavior
install:
- rustup component add rustfmt-preview
script:
- cargo fmt -- --write-mode=diff
- rust: 1.24.0 # `stable`: Locking down for consistent behavior
env: RUSTFLAGS="-D warnings"
- env: RUSTFLAGS="-D warnings"
rust: 1.24.0 # `stable`: Locking down for consistent behavior
install:
script:
- cargo check --tests
- rust: nightly-2018-01-12
env: CLIPPY_VERSION="0.0.179"
- env: CLIPPY_VERSION="0.0.179"
rust: nightly-2018-01-12
install:
- travis_wait cargo install clippy --version $CLIPPY_VERSION || echo "clippy already installed"
script:
Expand Down Expand Up @@ -50,6 +50,12 @@ script:
after_success:
- cargo when --channel stable coveralls

branches:
only:
# Release tags
- /^v\d+\.\d+\.\d+.*$/
- master

addons:
apt:
packages:
Expand Down
6 changes: 6 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ test_script:
- cargo clean
- cargo test --verbose --features "cli serde_json"

branches:
only:
# Release tags
- /^v\d+\.\d+\.\d+.*$/
- master

cache:
- C:\Users\appveyor\.cargo\registry
- target
Expand Down

0 comments on commit 21f818b

Please sign in to comment.