stocproc/.travis.yml
Richard Hartmann 7264fc29d7 minor changes
2016-12-05 14:47:36 +01:00

37 lines
760 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
- git clone https://github.com/cimatosa/fcSpline.git fcs_pack
- cd fcs_pack
- python setup.py build_ext --inplace
- cd ..
- ln -s fcs_pack/fcSpline
- 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 cd doc && ./deploy_ghp.sh; fi