forked from Kamal-Sadek/Liberal-Crime-Squad
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
62 lines (56 loc) · 1.18 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
sudo: false
dist: trusty
language: generic
git:
depth: 3
branches:
only:
- master
matrix:
include:
- compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- BUILD_TARGET=linux
- COMPILER=g++-5
- compiler: clang
env: BUILD_TARGET=linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-trusty-4.0
packages:
- g++-5
- clang-4.0
env:
- BUILD_TARGET=linux
- COMPILER=clang++-4.0
- compiler: x86_64-w64-mingw
addons:
apt:
packages:
- g++-mingw-w64-x86-64
env:
- BUILD_TARGET=win64
before_script:
- mkdir build
- cd build
- if [ "$BUILD_TARGET" = "linux" ]; then
../bootstrap CXX=$COMPILER --disable-silent-rules;
elif [ "$BUILD_TARGET" = "win64" ]; then
../bootstrap --host=x86_64-w64-mingw32 --disable-silent-rules;
fi
script:
- make -j2
- if [ "$BUILD_TARGET" = "linux" ]; then
make check;
fi
notifications:
email: