Skip to content

Commit

Permalink
Try code coverage again
Browse files Browse the repository at this point in the history
  • Loading branch information
Loki-Astari committed Jul 1, 2015
1 parent 295175b commit dee3709
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -30,7 +30,9 @@ install:
script:
- make
after_success:
- bash <(curl -s https://codecov.io/bash)
- find src -type f -not -path '*test*' '(' -name '*.cpp' -or -name '*.h' -or -name '*.tpp' ')' > upload
- for $(find src -type f -name '*.gcov') in $files; do echo "<<<<<< EOF" >> upload;cat "$file" >> upload;done
- cat upload | tr '\n' ' ' | tr -s ' ' | curl -X POST --silent --data-binary @- -H "Content-Type: text/plain" -H "Accept: text/plain" "https://codecov.io/upload/v2?service=travis-org&branch=$TRAVIS_BRANCH&commit=$TRAVIS_COMMIT&build=$TRAVIS_JOB_NUMBER&pull_request=$TRAVIS_PULL_REQUEST&job=$TRAVIS_JOB_ID&slug=$TRAVIS_REPO_SLUG"
branches:
only:
- master
Expand Down

0 comments on commit dee3709

Please sign in to comment.