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
|
|
|
|
2015-08-27 17:17:04 +02:00
|
|
|
python:
|
|
|
|
- '3.4'
|
2016-09-20 23:26:48 +02:00
|
|
|
- '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-09-20 15:45:53 +02:00
|
|
|
- python setup.py build_ext --inplace
|
|
|
|
|
2015-08-27 17:17:04 +02:00
|
|
|
script:
|
2016-09-20 23:28:46 +02:00
|
|
|
- py.test tests/ -v --cov=stocproc --cov-report term-missing
|
2016-09-20 15:45:53 +02:00
|
|
|
|
|
|
|
after_success:
|
2016-09-21 22:49:10 +02:00
|
|
|
- bash <(curl -s https://codecov.io/bash)
|