stocproc/.travis.yml
2016-11-15 16:39:18 +01:00

32 lines
600 B
YAML

language: python
notifications:
email: false
env:
global:
- COMMIT_AUTHOR_EMAIL: "cimatosa@gmx.de"
python:
- '3.4'
- '3.5'
before_install:
- sudo apt-get install build-essential
- sudo apt-get install libatlas-base-dev
- which python
- python --version
install:
- pip install pytest pytest-cov
- pip install cython
- pip install numpy scipy
- pip freeze
- python setup.py build_ext --inplace
script:
- py.test tests/ -v -s --cov=stocproc --cov-report term-missing
after_success:
- bash <(curl -s https://codecov.io/bash)
- if [ $TRAVIS_PYTHON_VERSION = '3.4' ]; then deploy_ghp.sh; fi