Skip to content
Snippets Groups Projects
Unverified Commit 71786cdf authored by Jordan Harband's avatar Jordan Harband
Browse files

[Tests] clean up travis.yml

parent e15e5495
No related branches found
No related tags found
No related merge requests found
language: node_js
node_js:
- "5.1"
- "5.0"
- "6"
- "5"
- "4"
- "4.2"
- "4.1"
- "4.0"
script: npm run lint && npm test
- "iojs"
script: 'if [ "${TRAVIS_NODE_VERSION}" = 6 ]; then npm test; else npm run tests-only; fi'
env:
- REACT=0.14
sudo: false
matrix:
fast_finish: true
allow_failures:
- node_js: "5.0"
- node_js: "4.1"
- node_js: "4.0"
- node_js: "0.11"
- node_js: "iojs"
......@@ -11,7 +11,9 @@
"clean": "rimraf lib",
"lint": "eslint --ext .js,.jsx src test",
"mocha": "mocha --compilers js:babel-register,jsx:babel-register --require airbnb-js-shims --recursive ./test/_helpers",
"test": "npm run mocha --silent test",
"pretest": "npm run --silent lint",
"tests-only": "npm run mocha --silent test",
"test": "npm run tests-only",
"storybook": "start-storybook -p 9001 -s ./public",
"tag": "git tag v$npm_package_version",
"gh-pages:clean": "rm -rf _gh-pages",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment