-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.yml
41 lines (41 loc) · 1.15 KB
/
.travis.yml
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
language: python
dist: xenial
services:
- xvfb
python:
- "3.6"
- "3.6-dev" # 3.6 development branch
- "3.7-dev"
# command to install dependencies
addons:
apt:
packages:
- libblas-dev
- liblapack-dev
- libatlas-base-dev
- libopenblas-base
- libopenblas-dev
- gfortran
- libassimp-dev
- xvfb
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n test-env python=$(echo $TRAVIS_PYTHON_VERSION|sed 's/-dev//')
- source activate test-env
- conda install -c conda-forge pyembree vtk rtree
- pip install codecov numpy cython --upgrade
- pip install -r requirements.txt
- pip install -r test_requirements.txt
- pip install -r optional_requirements.txt
script:
- python setup.py test -a test # or py.test for Python versions 3.5 and below
after_success:
- codecov -t 72712def-b073-4211-88e4-f7b4d5b0d1ba
cache:
pip: true