diff options
author | Paul Woolcock <paul@woolcock.us> | 2018-08-23 10:23:13 -0400 |
---|---|---|
committer | Paul Woolcock <paul@woolcock.us> | 2018-08-23 10:35:26 -0400 |
commit | d710f4ab492ab46ebd6da6893d08bf615b618e84 (patch) | |
tree | 96324229f5379ee1ec26b7a515fc4e20edcf4fe0 /.travis.yml | |
parent | 7ea0f67ccfbcd6153814c0db82ad76a12d1164aa (diff) |
Fix .travis.yml bash command
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 9ad0c85..215ed0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,13 +4,9 @@ rust: - beta - nightly before_script: - - bash -c 'if [[ "$TRAVIS_RUST_VERSION" == "nightly*" ]]; then - rustup component add rustfmt-preview - fi' + - bash -c 'if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then rustup component add rustfmt-preview; fi' script: - - bash -c 'if [[ "$TRAVIS_RUST_VERSION" == "nightly*" ]]; then - cargo fmt --all -- --check - fi' + - bash -c 'if [[ "$TRAVIS_RUST_VERSION" == "nightly"* ]]; then cargo fmt --all -- --check; fi' - cargo build - cargo test matrix: |