add travis ci integration

This commit is contained in:
Cassie Tarakajian 2017-10-15 20:35:58 -07:00
parent c30aba8e78
commit 593cf3abfa
2 changed files with 4 additions and 1 deletions

3
.travis.yml Normal file
View file

@ -0,0 +1,3 @@
language: node_js
node_js:
- "node"

View file

@ -8,7 +8,7 @@
"lint": "eslint client server --ext .jsx --ext .js", "lint": "eslint client server --ext .jsx --ext .js",
"lint-fix": "eslint client server --ext .jsx --ext .js --fix", "lint-fix": "eslint client server --ext .jsx --ext .js --fix",
"build": "NODE_ENV=production webpack --config webpack.config.prod.js --progress", "build": "NODE_ENV=production webpack --config webpack.config.prod.js --progress",
"test": "echo \"Error: no test specified\" && exit 1", "test": "npm run lint",
"fetch-examples": "node fetch-examples.js", "fetch-examples": "node fetch-examples.js",
"postinstall": "git submodule update --remote --recursive" "postinstall": "git submodule update --remote --recursive"
}, },