mirror of
https://github.com/vale981/stocproc
synced 2025-03-04 09:11:41 -05:00
37 lines
760 B
YAML
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
|