@@ -0,0 +1,5 @@
+set -e
+npm run ci
+if [ -z "$CI_PULL_REQUEST" ] then
+ cat ./coverage/lcov.info | ./node_modules/.bin/codecov
+fi
@@ -4,7 +4,4 @@ machine:
test:
override:
- - npm run lint
- - npm run flow
- - npm run test:cover
- - npm run test:ssr
+ - bash build/ci.sh
@@ -46,6 +46,7 @@
"babel-preset-es2015-rollup-vue": "1.1.x",
"babel-preset-flow-vue": "1.0.x",
"chromedriver": "2.21.x",
+ "codecov.io": "0.1.x",
"cross-spawn": "2.2.x",
"entities": "1.1.x",
"eslint": "2.9.x",