Skip to content

Commit

Permalink
Add travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
bastoche committed Sep 17, 2017
1 parent 1b303ad commit 2385c60
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
language: node_js
node_js: "node"
script: yarn validate
cache: yarn
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@rdbird/eslint-config": "^5.0.1",
"@rdbird/eslint-config": "^5.0.1",
"prettier": "^1.7.0",
"react": "^15.6.1",
"react-dom": "^15.6.1",
Expand All @@ -15,7 +15,8 @@
"build": "react-scripts build",
"format": "eslint . --fix",
"lint": "eslint .",
"test": "react-scripts test --env=jsdom",
"test": "react-scripts test --env=jsdom",
"validate": "yarn lint && yarn test",
"eject": "react-scripts eject"
}
}

0 comments on commit 2385c60

Please sign in to comment.