forked from CGAL/cgal-swig-bindings
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
136 lines (136 loc) · 2.79 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
language: python
sudo: required
dist: xenial
services:
- docker
python:
- '2.7'
- '3.6'
- '3.7'
- '3.8'
os:
- linux
env:
jobs:
- CGAL_VER=releases/CGAL-5.0
- CGAL_VER=v5.1
- CGAL_VER=master
global:
- CGAL_PYTHON_EXAMPLES=examples/python
- PYCODESTYLE_CONVENTIONS="--max-line-length=120"
- secure: LJapS6f/ZojkerZ6me1RHnPC3QAqivtsM0F3pnp8QRcala4PRGn8BIG7CfSrWYEy1RmmniWCNzS5CHsP6qLrAKtYeTNSdbSomx0uhatwXVTlllcDsyAwenqCgtGXejJ4T0HmRi8meURPjhJ77UMmvpfL3vqqfFpW0hYZsDEd/sA=
include:
if: type = push
env: DO_UPLOAD="TRUE"
matrix:
include:
- os: osx
env:
- CGAL_VER=releases/CGAL-5.0
- MB_PYTHON_VERSION=3.8
osx_image: xcode11.3
language: shell
python: 3.8
- os: osx
env:
- CGAL_VER=v5.1
- MB_PYTHON_VERSION=3.8
osx_image: xcode11.3
language: shell
python: 3.8
- os: osx
env:
- CGAL_VER=master
- MB_PYTHON_VERSION=3.8
osx_image: xcode11.3
language: shell
python: 3.8
- os: osx
env:
- CGAL_VER=releases/CGAL-5.0
- MB_PYTHON_VERSION=3.6
osx_image: xcode11.3
language: shell
python: 3.6
- os: osx
env:
- CGAL_VER=v5.1
- MB_PYTHON_VERSION=3.6
osx_image: xcode11.3
language: shell
python: 3.6
- os: osx
env:
- CGAL_VER=master
- MB_PYTHON_VERSION=3.6
osx_image: xcode11.3
language: shell
python: 3.6
- os: osx
env:
- CGAL_VER=releases/CGAL-5.0
- MB_PYTHON_VERSION=3.7
osx_image: xcode11.3
language: shell
python: 3.7
- os: osx
env:
- CGAL_VER=v5.1
- MB_PYTHON_VERSION=3.7
osx_image: xcode11.3
language: shell
python: 3.7
- os: osx
env:
- CGAL_VER=master
- MB_PYTHON_VERSION=3.7
osx_image: xcode11.3
language: shell
python: 3.7
addons:
homebrew:
packages:
- mpfr
- gmp
- boost
- cmake
- eigen
- swig
- numpy
- homebrew/cask/java
- tbb
apt:
packages:
- libmpfr-dev
- libboost-atomic-dev
- libboost-chrono-dev
- libboost-date-time-dev
- libboost-iostreams-dev
- libboost-serialization-dev
- libboost-system-dev
- libboost-thread-dev
- libeigen3-dev
- swig
- openjdk-8-jdk
- libgl1-mesa-dev
- libtbb-dev
before_install:
- echo $DO_UPLOAD
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then source .integration/osx_utils.sh && get_macpython_environment
$MB_PYTHON_VERSION; fi
- python -m pip install --upgrade pip
- python -m pip --version
- python -m pip install numpy twine
- python -m pip install pycodestyle
- git clone --depth 1 -b ${CGAL_VER} https://github.com/CGAL/cgal.git
- cd cgal
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=/cgal -DCMAKE_BUILD_TYPE=Release ..
- make -j2 VERBOSE=1
- sudo make install
- cd ../..
install:
- bash .integration/travis_install.sh
script:
- bash .integration/travis.sh