Clean CI scripts
This commit is contained in:
parent
2edab9384a
commit
a44ecaed3d
10
.travis.yml
10
.travis.yml
|
@ -10,20 +10,12 @@ addons:
|
|||
- gcc-4.8
|
||||
- g++-4.8
|
||||
script:
|
||||
- npm run ci:test
|
||||
- npm run test
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
- example/webapp/node_modules
|
||||
deploy:
|
||||
provider: pages
|
||||
skip_cleanup: true
|
||||
github_token: $GITHUB_TOKEN
|
||||
local_dir: example/webapp/build
|
||||
on:
|
||||
branch: master
|
||||
after_success:
|
||||
- npm run ci:report:coverage
|
|
@ -19,9 +19,7 @@
|
|||
"example:webapp:deploy": "cd example/webapp && npm run deploy",
|
||||
"example:peripheral:install": "cd example/peripheral && npm install",
|
||||
"example:peripheral:start": "cd example/peripheral && npm start",
|
||||
"ci:test": "jest ./build/",
|
||||
"ci:report:coverage": "npm run ci:test -- --coverage && codecov -t $CODECOV_TOKEN",
|
||||
"ci:example:build": "npm run example:webapp:install && npm run example:webapp:build"
|
||||
"ci:report:coverage": "npm run test -- --coverage && codecov -t $CODECOV_TOKEN"
|
||||
},
|
||||
"babel": {
|
||||
"presets": [
|
||||
|
|
Loading…
Reference in New Issue