Skip to content

Commit

Permalink
Automatically test all supported major React versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Jacobs committed Jun 28, 2016
1 parent e5eb0be commit 517ea64
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,12 @@ node_js:

os: linux

env:
- TARGET_REACT_VERSION=0.14
- TARGET_REACT_VERSION=15

before_install:
- npm install react@$(echo $TARGET_REACT_VERSION)
- npm install react-dom@$(echo $TARGET_REACT_VERSION)

script: npm test
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-preset-stage-2": "^6.11.0",
"jest-cli": "^13.0.0",
"react": "^15.1.0",
"react-dom": "^15.1.0"
"jest-cli": "^13.0.0"
},
"dependencies": {
"remark": "^4.2.2"
Expand Down

0 comments on commit 517ea64

Please sign in to comment.