-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (36 loc) · 844 Bytes
/
.travis.yml
File metadata and controls
45 lines (36 loc) · 844 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language:
- cpp
dist: xenial
sudo: false
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake
- g++-6
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
before_install:
- readonly PARENT_DIR=$(pwd)
- eval "${MATRIX_EVAL}"
before_script:
- pyenv versions
- pyenv global 3.6.7
- ls -al $(python-config --prefix)/bin $(python-config --prefix)/lib $(python-config --prefix)/include
script:
- cd ${PARENT_DIR}
- git submodule update --init --recursive
- mkdir build
- cd build
- |
cmake \
-DPYTHON_EXECUTABLE=$(python-config --prefix)/bin/python3.6 \
-DPYTHON_LIBRARY=$(python-config --prefix)/lib/libpython3.6m.so \
-DPYTHON_INCLUDE_DIR=$(python-config --prefix)/include/python3.6m \
..
- make -j`nproc`
notifications:
email: false