-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (47 loc) · 1.16 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
matrix:
include:
# - os: osx
# compiler: gcc
# env:
# - BUILD_TYPE=Release VERBOSE=1 --enable-cxx CXX_FLAGS="-std=c++11 -Wdeprecated" HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
# - MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
# - os: osx
# compiler: clang
# env: BUILD_TYPE=Release VERBOSE=1 --enable-cxx CXX_FLAGS="-std=c++11 -Wdeprecated" HOMEBREW_LOGS=~/homebrew-logs HOMEBREW_TEMP=~/homebrew-temp
# - os: osx
# osx_image: xcode8
# env:
# - MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
- os: linux
dist: bionic
before_install:
- eval "${MATRIX_EVAL}"
# Need these for a more recent CMake on Linux
#sudo: required
#dist: bionic
language: cpp
before_script:
- cd watched
- mkdir build
- cd build
- cmake ..
script:
- cmake --build .
after_script:
- cmake --build . --target watched_test
- ./watched_test
# This section installs the necessary dependencies.
addons:
apt:
packages:
- g++
- clang
update: true
homebrew:
packages:
- ccache
- llvm@4
update: true
notifications:
email: false