-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
53 lines (49 loc) · 1.14 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
sudo: false
cache:
apt: true
ccache: true
# Use YAML anchors (&) and aliases (*) to more easily define
# a product of build configurations by merging the env tables into a predefined
# table (<<:)
yaml_aliases:
- &base_linux_config
os: linux
dist: trusty
addons:
apt:
packages:
- g++-7
- cmake
- cmake-data
- gdb
- apport
#- python3
#- python
sources:
- ubuntu-toolchain-r-test
language: generic
matrix:
include:
- <<: *base_linux_config
env:
- CMAKE_CC="gcc-7"
- CMAKE_CXX="g++-7"
- COMPILER_NAME=gcc
- CXX=g++-7
- CC=gcc-7
- BUILDMODE=Debug
# - <<: *base_linux_config
# env:
# - CMAKE_CC="gcc-7"
# - CMAKE_CXX="g++-7"
# - COMPILER_NAME=gcc
# - CXX=g++-7
# - CC=gcc-7
# - BUILDMODE=Release
script:
- git submodule sync && git submodule update --init --recursive
- mkdir build
- cd build
- cmake -DPWM_ENABLE_CILK_ALGORITHM=OFF -DCMAKE_BUILD_TYPE=$BUILDMODE ..
- make check
- make