Skip to content

Commit

Permalink
Add support for running ci with multiple versions of react
Browse files Browse the repository at this point in the history
  • Loading branch information
peternewnham committed Aug 9, 2017
1 parent 2e50475 commit 615feaa
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
language: node_js

node_js:
- "4"
- "5"
- 8
- 6
- 4

env:
- REACT_VERSION=next # 16 beta
- REACT_VERSION=15
- REACT_VERSION=0.14
- REACT_VERSION=0.13

script:
- npm run lint
- npm test
# Send coverage data to Coveralls
after_script: "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"

before_script:
- npm install react@$REACT_VERSION

after_script:
- "cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js" # Send coverage data to Coveralls

0 comments on commit 615feaa

Please sign in to comment.