Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (17 sloc) 558 Bytes
sudo: false
language: node_js
node_js:
- "6"
cache: yarn
env:
- TEST_SUITE=coverage
- TEST_SUITE=browser
- TEST_SUITE=lodash USE_LODASH=1
after_install:
- yarn install travis-ci
script:
- if [[ $TEST_SUITE = "coverage" ]]; then yarn run coveralls; fi
- if [[ $TEST_SUITE = "browser" ]] && [[ $SAUCE_USERNAME ]]; then yarn run test-cross-browser; fi
- if [[ $TEST_SUITE = "lodash" ]]; then yarn run test; fi
after_success:
- if [[ $TRAVIS_BRANCH = "master" ]] && [[ $TRAVIS_PULL_REQUEST = "false" ]]; then node trigger-deploy-mn-com.js; fi