mirror of
https://github.com/airbnb/javascript.git
synced 2026-01-21 03:58:08 -05:00
21 lines
576 B
YAML
21 lines
576 B
YAML
language: node_js
|
|
node_js:
|
|
- "6"
|
|
- "5"
|
|
- "4"
|
|
- "iojs"
|
|
env:
|
|
- 'TEST_DIR=packages/eslint-config-airbnb'
|
|
- 'TEST_DIR=packages/eslint-config-airbnb-base'
|
|
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 run travis'
|
|
sudo: false
|
|
matrix:
|
|
fast_finish: true
|
|
allow_failures:
|
|
- node_js: "iojs"
|