-
Notifications
You must be signed in to change notification settings - Fork 161
/
.travis.yml
40 lines (39 loc) · 1.17 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
language: cpp
sudo: false
matrix:
include:
- os: linux
compiler: g++
script:
- cmake -DTBB_BUILD_PYTHON=ON -DCMAKE_INSTALL_PREFIX=~/.local .
- make install -j2
- ctest -j2 --output-on-failure --timeout 500
addons:
apt:
packages:
- g++
- cmake
- swig
- python-dev
- os: osx
compiler: clang
script:
- cmake -DCMAKE_INSTALL_PREFIX=~/.local .
- make install -j2
- ctest -j2 --output-on-failure --timeout 500
- os: linux
compiler: x86_64-w64-mingw32-g++
script:
- cmake -DCMAKE_TOOLCHAIN_FILE=build/mingw_cross_toolchain.cmake -DCMAKE_INSTALL_PREFIX=~/.local -DCMAKE_CROSSCOMPILING_EMULATOR=/usr/bin/wine-development .
- make install -j2
- cp -v /usr/lib/gcc/x86_64-w64-mingw32/5.3-posix/*.dll /usr/x86_64-w64-mingw32/lib/*.dll .
- ctest -j2 --output-on-failure --timeout 500
addons:
apt:
packages:
- g++-mingw-w64-x86-64
- gcc-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
- cmake
- make
- wine-development