Skip to content

Commit

Permalink
TST: Re-enable codecov.io
Browse files Browse the repository at this point in the history
Re-enable codecov for new pytest build
  • Loading branch information
bashtage committed Aug 3, 2016
1 parent 465c452 commit 34b0ae9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Expand Up @@ -101,11 +101,13 @@ script:
# Coverage
- export COVERAGE_OPTIONS=""
- SRCDIR=$PWD
- if [ ${COVERAGE} = true ]; then export COVERAGE_OPTIONS="--cov-config ${SRCDIR}/.travis_coveragerc --cov=arch --cov-report xml --cov-report html"; fi
- if [ ${COVERAGE} = true ]; then export COVERAGE_OPTIONS="--cov-config=${SRCDIR}/.travis_coveragerc --cov=arch --cov-report xml --cov-report html"; fi
# Main test
- mkdir -p "${SRCDIR}/travis-test"; cd "${SRCDIR}/travis-test"
- echo py.test -s $COVERAGE_OPTIONS --pyargs arch
- py.test -s $COVERAGE_OPTIONS --pyargs arch

after_success:
- ls -a
- if [ ${COVERAGE} = true ]; then coveralls --rcfile=${SRCDIR}/.travis_coveragerc; fi
- if [ ${COVERAGE} = true ]; then bash <(curl -s https://codecov.io/bash); fi

0 comments on commit 34b0ae9

Please sign in to comment.