Skip to content

Commit

Permalink
add codecov back to package.json, change command to hit the binary di…
Browse files Browse the repository at this point in the history
…rectly as it seems to be able to autodetect now
  • Loading branch information
lathonez committed Dec 26, 2016
1 parent 91303fa commit ecf5d87
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ before_script:
- sh -e /etc/init.d/xvfb start

script:
- ng test --watch=false # unit tests
- npm run ionic:build # ionic build
- ng test --watch=false --code-coverage # unit tests
- npm run ionic:build # ionic build
# Serve with python as ionic serve needs interaction
- cd www && python -m SimpleHTTPServer 8100 >> python_serve.log 2>&1 &
- npm run e2e # run e2e tests against ionic
- npm run e2e # run e2e tests against ionic

after_failure:
- cat $TRAVIS_BUILD_DIR/python_serve.log
- cat $TRAVIS_BUILD_DIR/ionic_serve.log

after_success:
# Send coverage info off to cloud ppl
- cat coverage/lcov.info | ./node_modules/.bin/codecov
- ./node_modules/.bin/codecov

before_deploy:
# start install android
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"@types/jasmine": "2.5.38",
"@types/node": "6.0.42",
"angular-cli": "1.0.0-beta.24",
"codecov": "1.0.1",
"jasmine-core": "2.5.2",
"jasmine-spec-reporter": "2.7.0",
"karma": "1.3.0",
Expand Down

0 comments on commit ecf5d87

Please sign in to comment.