From 9a28b235be94e59483abbc3137f375523135381d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ana=20Mar=C3=ADa=20Mart=C3=ADnez=20G=C3=B3mez?= Date: Mon, 27 Mar 2017 12:08:15 +0200 Subject: [PATCH] [ci] Add haml-lint to Travis Run haml_lint rake task in Travis to ensure that no haml style offenses are introduced. --- .travis.yml | 1 + dist/ci/travis_script.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index b523b7b982a..501e82c1cee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ script: dist: trusty sudo: required env: + - TEST_SUITE=haml - TEST_SUITE=rspec - TEST_SUITE=api - TEST_SUITE=webui diff --git a/dist/ci/travis_script.sh b/dist/ci/travis_script.sh index f49adea5b06..86487c90931 100755 --- a/dist/ci/travis_script.sh +++ b/dist/ci/travis_script.sh @@ -35,6 +35,9 @@ if test -z "$SUBTEST"; then rspec) bundle exec rspec ;; + haml) + bundle exec rake haml_lint + ;; jshint) jshint . ;;