commit | 75e902e0dd1667da59d68fb968d5623722666030 | [log] [tgz] |
---|---|---|
author | Anton Kochkov <anton.kochkov@gmail.com> | Sun May 17 14:29:57 2020 +0800 |
committer | GitHub <noreply@github.com> | Sun May 17 14:29:57 2020 +0800 |
tree | 2c1effcdd8e63a157ce85d363764a2bde25bc541 | |
parent | debac234ebbc2f8341442f6e773fbf199da5ff45 [diff] |
Fix Travis CI build (#350)
diff --git a/.travis.yml b/.travis.yml index 1f991ae..ba952a0 100644 --- a/.travis.yml +++ b/.travis.yml
@@ -1,5 +1,5 @@ language: rust -matrix: +jobs: include: - rust: 1.37.0 env: @@ -18,7 +18,10 @@ only: - master before_script: - - rustup component add rustfmt + - | + if [ "${CHECKFMT}" == "1"]; then + rustup component add rustfmt --toolchain stable + fi script: - | cargo build --verbose --no-default-features &&