Investigating lcov.info breakage

pull/344/head
Rick Carlino 2017-07-20 10:53:57 -05:00
parent cc6d8afe6f
commit d24c295d22
2 changed files with 3 additions and 4 deletions

View File

@ -9,7 +9,6 @@ before_script:
- cp config/database.travis.yml config/database.yml
- mkdir -p public/app
- touch public/app/index.html
- "./install_frontend.sh"
- bundle install
- bundle exec rake db:create db:migrate
- yarn install
@ -21,3 +20,4 @@ script:
- export DB=postgresql
- bundle exec rspec
- npm run test
- cat ./coverage/remapped/lcov.info | ./node_modules/coveralls/bin/coveralls.js

View File

@ -8,14 +8,13 @@
"url": "https://github.com/farmbot/farmbot-web-frontend"
},
"scripts": {
"coverage": "midori coverage/remapped/html/index.html",
"coverage": "cat ./coverage/remapped/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"build": "node_modules/webpack/bin/webpack.js --config tools/webpack.config.prd.js --display-error-details",
"start": "echo '===We use `npm run dev` now.==='",
"heroku-postbuild": "./install_frontend.sh 2>&1",
"dev": "PORT=3000 bundle exec foreman start --procfile=Procfile.dev",
"webpack": "webpack-dev-server --config tools/webpack.config.dev.js --content-base public/ --host 0.0.0.0",
"test": "jest --coverage --no-cache && cat ./coverage/remapped/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"just_test": "jest --coverage --no-cache"
"test": "jest --coverage --no-cache"
},
"keywords": [
"farmbot"