forked from sampotter/fluxpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (23 loc) · 826 Bytes
/
.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
language: python
python:
- "3.6"
dist: bionic
install:
# get CGAL
- wget https://github.com/CGAL/cgal/releases/download/v5.3/CGAL-5.3-library.tar.xz
- tar xvf CGAL-5.3-library.tar.xz
# upgrade pip (unnecessary?)
- pip install --upgrade pip
# get packages
- pip install cython
# get embree and set up environment variables
- wget https://github.com/embree/embree/releases/download/v3.13.2/embree-3.13.2.x86_64.linux.tar.gz
- tar xvf embree-3.13.2.x86_64.linux.tar.gz
- pushd embree-3.13.2.x86_64.linux; source embree-vars.sh; popd
# install python-embree
- git clone https://github.com/sampotter/python-embree
- pushd python-embree; pip install .; popd
# install python-flux
- CPATH=~/CGAL-5.3/include:$CPATH python setup.py build_ext -i
script:
- python -m unittest discover tests