forked from bxlab/bx-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
25 lines (25 loc) · 699 Bytes
/
Copy path.travis.yml
File metadata and controls
25 lines (25 loc) · 699 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: python
sudo: false
os:
- linux
## - osx
python:
- 2.7
addons:
apt:
packages:
- liblzo2-dev
before_install:
# Use miniconda for dependencies, pip is too slow -- https://gist.github.com/zonca/9958333
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda2/bin:$PATH
- conda update --yes conda
install:
- conda create --yes -n testenv python=$TRAVIS_PYTHON_VERSION Cython numpy nose
- source activate testenv
- python setup.py build_ext --inplace
- python setup.py install
script:
- nosetests