diff --git a/.travis.yml b/.travis.yml index 7149e09d65..4dea6fcbfc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,11 +101,14 @@ 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 + - ls -a - if [ ${COVERAGE} = true ]; then bash <(curl -s https://codecov.io/bash); fi diff --git a/appveyor.yml b/appveyor.yml index 69559bc0a0..18b2abaf22 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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