Skip to content

Commit

Permalink
Merge pull request #4 from remarkablemark/travis
Browse files Browse the repository at this point in the history
Add Travis CI
  • Loading branch information
remarkablemark authored Aug 23, 2016
2 parents 572f1f5 + 8c7c7f8 commit d66db4b
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 3 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
test
.eslint*
.travis*
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: node_js

node_js:
- stable

sudo: false # https://docs.travis-ci.com/user/migrating-from-legacy/

install:
- npm install

script:
- npm run lint
- npm test

cache:
directories:
- node_modules

notifications:
email: false
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@
"eslint": "^3.3.1",
"jsdomify": "^2.1.0",
"mocha": "^3.0.2",
"react": "^15.3.0",
"react-dom": "^15.3.0"
"react": "*",
"react-dom": "*"
},
"peerDependencies": {
"react": "^0.13 || ^15.0"
"react": ">=0.14"
},
"browser": {
"htmlparser2/lib/Parser": false,
Expand Down

0 comments on commit d66db4b

Please sign in to comment.