From 116dd3866506f92916eab8f24a579cfe28ee642b Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Wed, 23 May 2018 22:11:43 +0200 Subject: [PATCH] Run rust checks --- .travis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9745f98..43862b5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,15 @@ sudo: false install: - curl -L https://github.com/gohugoio/hugo/releases/download/v0.40.3/hugo_0.40.3_Linux-64bit.tar.gz | tar xzvf - -script: - - ./hugo +matrix: + include: + - env: + - TASK=build + script: ./hugo + - env: + - TASK=check + lang: rust + script: cd examples; cargo check deploy: provider: script @@ -12,4 +19,4 @@ deploy: skip_cleanup: true on: branch: master - condition: $TRAVIS_PULL_REQUEST = "false" + condition: $TRAVIS_PULL_REQUEST = "false" && $TASK = "build"