aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-12-12 21:46:12 +0100
committerLibravatar Juan Aguilar <mhpoin@gmail.com>2018-12-12 22:22:48 +0100
commit65b4f6aae7f83df02449f21d857e640911975a36 (patch)
treebc55c9b0239011c9dffcecaa6272b02b658d52c0 /.travis.yml
parent48c5ebbd2be8f7d89f37f3aa04500b8ad1a3d460 (diff)
downloadaskama-65b4f6aae7f83df02449f21d857e640911975a36.tar.gz
askama-65b4f6aae7f83df02449f21d857e640911975a36.tar.bz2
askama-65b4f6aae7f83df02449f21d857e640911975a36.zip
Fix rustfmt across channels
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 77f5fdf..343cc63 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,7 +6,9 @@ rust:
cache: cargo
before_script:
-- rustup component add rustfmt-preview
+- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then
+ rustup component add rustfmt;
+ fi
script:
- cargo test --all