Skip to content

Commit

Permalink
[Tests] add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed May 8, 2018
1 parent 42735b5 commit ce1aa77
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
@@ -0,0 +1,27 @@
language: node_js
node_js:
- "10"
- "8"
- "6"
- "4"
- "iojs"
before_install:
- 'nvm install-latest-npm'
script:
- 'if [ -n "${LINT-}" ]; then npm run lint ; fi'
- 'if [ "${TEST-}" = true ]; then npm run tests-only ; fi'
env:
global:
- TEST=true
matrix:
- REACT=0.14
- REACT=15
- REACT=16
sudo: false
matrix:
fast_finish: true
include:
- node_js: "lts/*"
env: LINT=true TEST=false
allow_failures:
- node_js: "iojs"

0 comments on commit ce1aa77

Please sign in to comment.