Permalink
a0dfa8c Jan 18, 2017
@sokra @TheLarkInn @SimenB @jdalton @kahwee @rbartoli @elodszopos @avindra
50 lines (42 sloc) 1.11 KB
sudo: false
language: node_js
branches:
only:
- master
cache:
directories:
- $HOME/.npm
- $HOME/.yarn-cache
matrix:
include:
- os: linux
node_js: "7"
env: NO_WATCH_TESTS=1 JOB_PART=lint
- os: linux
node_js: "7"
env: NO_WATCH_TESTS=1 JOB_PART=benchmark
- os: linux
node_js: "7"
env: NO_WATCH_TESTS=1 JOB_PART=test
- os: linux
node_js: "6"
env: NO_WATCH_TESTS=1 JOB_PART=test
- os: linux
node_js: "4.3"
env: NO_WATCH_TESTS=1 JOB_PART=test
- os: osx
node_js: "7"
env: NO_WATCH_TESTS=1 JOB_PART=test
allow_failures:
- os: osx
fast_finish: true
before_script:
- bash ./ci/travis-install.sh
script: npm run travis:$JOB_PART
after_success:
- cat ./coverage/lcov.info | node_modules/.bin/coveralls --verbose
- cat ./coverage/coverage.json | node_modules/codecov.io/bin/codecov.io.js
- rm -rf ./coverage
notifications:
slack:
secure: JduSdKWwbnLCwo7Z4E59SGE+Uw832UwnXzQiKEpg1BV45MYDPRiGltly1tRHmPh9OGjvGx3XSkC2tNGOBLtL4UL2SCkf012x0t7jDutKRfcv/njynl8jk8l+UhPmaWiHXDQAgGiiKdL4RfzPLW3HeVHCOWm0LKMzcarTa8tw+rE=