Clean CI scripts

This commit is contained in:
Jeronimo Vallelunga 2019-03-31 09:07:22 -03:00
parent 2edab9384a
commit a44ecaed3d
2 changed files with 2 additions and 12 deletions

View File

@ -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

View File

@ -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": [