chore(ci): add travis scaffold

This commit is contained in:
Victor Nakoryakov
2016-06-28 16:18:16 +03:00
parent 86f96a273b
commit 8629fe0336
2 changed files with 7 additions and 1 deletions

4
.travis.yml Normal file
View File

@@ -0,0 +1,4 @@
language: node_js
node_js:
- "6"
script: "npm run travis"

View File

@@ -5,7 +5,8 @@
"scripts": {
"start": "mkdir -p ./dist && cp -f ./app/index.html ./dist/index.html && webpack-dev-server --watch --progress --colors --config webpack.config.js",
"lint": "eslint --ext .js --ext .jsx ./app ./test || true",
"test": "mocha-webpack --colors --webpack-config webpack.config.js \"test/**/*Spec.js\""
"test": "mocha-webpack --colors --webpack-config webpack.config.js \"test/**/*Spec.js\"",
"travis": "npm-run-all --continue-on-error lint test"
},
"repository": {},
"keywords": [],
@@ -44,6 +45,7 @@
"eslint-plugin-react": "^5.2.2",
"mocha": "^2.3.4",
"mocha-webpack": "^0.4.0",
"npm-run-all": "^2.3.0",
"react-hot-loader": "^1.3.0",
"wallaby-webpack": "0.0.22",
"webpack-dev-server": "^1.14.0"