diff options
author | Chris Rebert <code@rebertia.com> | 2014-05-19 02:48:40 +0400 |
---|---|---|
committer | Chris Rebert <code@rebertia.com> | 2014-05-19 04:20:54 +0400 |
commit | 1da03a1e734c4b4e5666377045766e1417d1f837 (patch) | |
tree | 63e29313f34a5cb6865d21cb330360ba24b2dcd1 /.travis.yml | |
parent | 511240b37751f10fc5043c8155f9f097c8bdcb09 (diff) |
add to TRAVIS_COMMIT_MSG, TWBS_DO_VALIDATOR, TWBS_DO_SAUCE vars to Travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 4aa74c6cde..59ef5fe779 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ before_install: - rvm use 1.9.3 --fuzzy - export GEMDIR=$(rvm gemdir) - if [ "$TWBS_TEST" = validate-html ]; then echo "ruby=$(basename $GEMDIR) jekyll=$JEKYLL_VERSION" > pseudo_Gemfile.lock; fi + - "export TRAVIS_COMMIT_MSG=\"$(git log --format=%B --no-merges -n 1)\"" + - echo "$TRAVIS_COMMIT_MSG" | grep '\[skip validator\]'; export TWBS_DO_VALIDATOR=$?; true + - echo "$TRAVIS_COMMIT_MSG" | grep '\[skip sauce\]'; export TWBS_DO_SAUCE=$?; true install: - time npm install -g grunt-cli - ./test-infra/s3_cache.py download npm-modules |