2015-01-02 17:58:31 +03:00
|
|
|
language: python
|
2015-01-05 20:00:10 +03:00
|
|
|
|
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2015-01-02 17:58:31 +03:00
|
|
|
python:
|
|
|
|
- "2.7"
|
|
|
|
- "3.4"
|
2015-01-03 14:03:41 +03:00
|
|
|
|
2015-01-02 17:58:31 +03:00
|
|
|
# command to install dependencies
|
|
|
|
install:
|
2015-01-03 13:51:58 +03:00
|
|
|
- "pip install --upgrade setuptools"
|
2015-01-30 10:06:02 +03:00
|
|
|
- "pip install -r requirements.txt"
|
2015-01-30 11:48:34 +03:00
|
|
|
- "export PYTHONPATH=`pwd`"
|
2015-01-30 10:06:02 +03:00
|
|
|
- "python setup.py build_ext --inplace"
|
2015-01-02 17:58:31 +03:00
|
|
|
# command to run tests
|
2015-01-05 11:31:40 +03:00
|
|
|
script:
|
2015-01-05 16:53:41 +03:00
|
|
|
- py.test tests/
|