stocproc/.travis.yml

38 lines
760 B
YAML
Raw Normal View History

2015-08-27 17:17:04 +02:00
language: python
2016-09-20 15:45:53 +02:00
2015-08-27 17:17:04 +02:00
notifications:
email: false
2016-09-20 15:45:53 +02:00
2016-11-15 15:28:13 +01:00
env:
global:
- COMMIT_AUTHOR_EMAIL: "cimatosa@gmx.de"
2015-08-27 17:17:04 +02:00
python:
- '3.4'
- '3.5'
2015-08-27 17:17:04 +02:00
before_install:
2016-09-20 23:23:42 +02:00
- sudo apt-get install build-essential
- sudo apt-get install libatlas-base-dev
2015-08-27 17:17:04 +02:00
- which python
2015-08-27 17:55:37 +02:00
- python --version
2015-08-27 17:28:19 +02:00
2015-08-27 17:17:04 +02:00
install:
2016-09-20 15:45:53 +02:00
- pip install pytest pytest-cov
2016-09-20 17:01:41 +02:00
- pip install cython
- pip install numpy scipy
2015-08-27 17:17:04 +02:00
- pip freeze
2016-12-05 14:47:36 +01:00
- 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
2016-09-20 15:45:53 +02:00
- python setup.py build_ext --inplace
2015-08-27 17:17:04 +02:00
script:
- py.test tests/ -v -s --cov=stocproc --cov-report term-missing
2016-09-20 15:45:53 +02:00
after_success:
2016-11-15 15:28:13 +01:00
- bash <(curl -s https://codecov.io/bash)
2016-11-15 16:47:34 +01:00
- if [ $TRAVIS_PYTHON_VERSION = '3.4' ]; then cd doc && ./deploy_ghp.sh; fi