[Tests] run subpackage tests at top level.

This commit is contained in:
Jordan Harband
2016-04-11 15:30:48 -07:00
parent 93b0a10eb7
commit bcc5c5d8dd

18
.travis.yml Normal file
View File

@@ -0,0 +1,18 @@
language: node_js
node_js:
- "5"
- "4"
- "iojs"
env:
- 'TEST_DIR=packages/eslint-config-airbnb'
before_install:
- 'cd $TEST_DIR'
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then case "$(npm --version)" in 1.*) npm install -g npm@1.4.28 ;; 2.*) npm install -g npm@2 ;; esac ; fi'
- 'if [ "${TRAVIS_NODE_VERSION}" != "0.6" ] && [ "${TRAVIS_NODE_VERSION}" != "0.9" ]; then npm install -g npm; fi'
script:
- 'npm test'
sudo: false
matrix:
fast_finish: true
allow_failures:
- node_js: "iojs"