2015-11-26 01:01:18 +03:00
|
|
|
sudo: false # use the container infrastructure
|
2014-10-05 04:16:13 +04:00
|
|
|
language: node_js
|
2015-11-26 01:01:18 +03:00
|
|
|
git:
|
|
|
|
depth: 10
|
|
|
|
node_js:
|
|
|
|
- "4"
|
2015-12-01 19:49:46 +03:00
|
|
|
- "5"
|
2015-11-26 01:01:18 +03:00
|
|
|
before_install:
|
2015-11-26 01:23:57 +03:00
|
|
|
- rvm install 2.2.2
|
|
|
|
- rvm use 2.2.2 --fuzzy
|
|
|
|
- export GEMDIR=$(rvm gemdir)
|
2015-11-26 01:01:18 +03:00
|
|
|
- npm install -g npm@3
|
|
|
|
- "export TRAVIS_COMMIT_MSG=\"$(git log --format=%B --no-merges -n 1)\""
|
|
|
|
- echo "$TRAVIS_COMMIT_MSG" | grep '\[skip validator\]'; export BMD_DO_VALIDATOR=$?; true
|
|
|
|
- echo "$TRAVIS_COMMIT_MSG" | grep '\[skip sauce\]'; export BMD_DO_SAUCE=$?; true
|
|
|
|
# - if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then export BMD_DO_VALIDATOR=0; fi
|
2015-11-19 18:03:53 +03:00
|
|
|
|
2015-11-26 01:01:18 +03:00
|
|
|
install:
|
|
|
|
- bundle install --deployment --jobs=3
|
|
|
|
- cp grunt/npm-shrinkwrap.json ./
|
2014-12-15 18:16:33 +03:00
|
|
|
- npm install -g grunt-cli
|
2015-11-21 20:51:04 +03:00
|
|
|
- npm install -g bower
|
2015-11-26 01:01:18 +03:00
|
|
|
- bower install
|
|
|
|
|
2015-12-01 19:49:46 +03:00
|
|
|
# Caching disabled due to https://github.com/travis-ci/travis-ci/issues/5092
|
|
|
|
#cache:
|
|
|
|
# directories:
|
|
|
|
# - node_modules
|
|
|
|
# - vendor/bundle
|
|
|
|
# - bower-components
|
2015-11-26 01:01:18 +03:00
|
|
|
|
|
|
|
addons:
|
|
|
|
sauce_connect:
|
|
|
|
username: "bmaterialdesign"
|
|
|
|
access_key:
|
|
|
|
secure: "eFSRVOJsJFi8Yhh0pCQpuJELDk0/B6s5tfvR3hi8oWXmW7FjNvRMgesoBKXbEW2HBhjJFMpt+1Rf49pweqgtZQ9vfz0GD47OjwJCTzip2Wv+EANLTJESdI5E0kw7STxrjL3Y12MBQQFHUYh9mhLdpAobNIppsIB5CG4pjtFSiG0="
|
|
|
|
|
|
|
|
env:
|
|
|
|
matrix:
|
|
|
|
- BMD_TEST=core
|
|
|
|
- BMD_TEST=validate-html
|
|
|
|
- BMD_TEST=sauce-js-unit
|
2014-12-15 18:16:33 +03:00
|
|
|
|
2015-11-26 01:01:18 +03:00
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
exclude:
|
|
|
|
- node_js: "4"
|
|
|
|
env: BMD_TEST=validate-html
|
|
|
|
- node_js: "4"
|
|
|
|
env: BMD_TEST=sauce-js-unit
|