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 4933721
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
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=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
14 changes: 7 additions & 7 deletions appveyor.yml
Expand Up @@ -18,12 +18,12 @@ platform:
build_script:
- ps: Start-FileDownload "https://repo.continuum.io/miniconda/Miniconda$env:PY_MAJOR_VER-latest-Windows-$env:PYTHON_ARCH.exe" C:\Miniconda.exe; echo "Finished downloading miniconda"
- cmd: C:\Miniconda.exe /S /D=C:\Py
- SET PATH=C:\Py;C:\Py\Scripts;C:\Py\Library\bin;%PATH%
- conda config --set always_yes yes
- conda update conda --quiet
- conda install numpy cython nose pandas scipy patsy statsmodels matplotlib numba nbconvert nbformat nose pip pyyaml setuptools pyqt pyparsing --quiet
- python setup.py install
- cmd: SET PATH=C:\Py;C:\Py\Scripts;C:\Py\Library\bin;%PATH%
- cmd: conda config --set always_yes yes
- cmd: conda update conda --quiet
- cmd: conda install numpy cython pytest pandas scipy patsy statsmodels matplotlib numba nbconvert nbformat nose pip pyyaml setuptools pyqt pyparsing --quiet
- cmd: python setup.py install

test_script:
- cd ..\..
- nosetests arch
- cmd: cd ..\..
- cmd: py.test --pyargs arch

0 comments on commit 4933721

Please sign in to comment.