forked from wjakob/tbb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (54 loc) · 1.5 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
language: cpp
sudo: false
matrix:
include:
- os: linux
compiler: gcc-4.8
script:
- CXXFLAGS="-mno-rtm" cmake -DCMAKE_CXX_COMPILER=g++-4.8 .
- make -j2
- ctest -j2 --output-on-failure --timeout 500
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- kubuntu-backports
packages:
- g++-4.8
- g++-4.8-multilib
- g++-multilib
- cmake
- os: osx
compiler: clang
script:
- cmake .
- make -j2
- ctest -j2 --output-on-failure --timeout 500
- os: linux
compiler: x86_64-w64-mingw32-g++
script:
- cmake -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_TOOLCHAIN_FILE=build/mingw_cross_toolchain.cmake -DGNU_HOST=x86_64-w64-mingw32 .
- make -j2
addons:
apt:
sources:
- kubuntu-backports
packages:
- g++-mingw-w64-x86-64
- gcc-mingw-w64-x86-64
- binutils-mingw-w64-x86-64
- cmake
- os: linux
compiler: i686-w64-mingw32-g++
script:
- cmake -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++ -DCMAKE_TOOLCHAIN_FILE=build/mingw_cross_toolchain.cmake -DGNU_HOST=i686-w64-mingw32 .
- make -j2
addons:
apt:
sources:
- kubuntu-backports
packages:
- g++-mingw-w64-i686
- gcc-mingw-w64-i686
- binutils-mingw-w64-i686
- cmake