-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (31 loc) · 897 Bytes
/
.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
language: cpp
env:
global:
# Ubuntu version
- LINUX_DIST=xenial
- DEPS_DIR=${TRAVIS_BUILD_DIR}/deps
# Global build options and C++ flags
- CXX_FLAGS="-Wall -pedantic -Werror -Wno-variadic-macros -Wno-long-long -Wno-shadow"
# Misc
##- RUN_TESTS=true
##- COVERAGE=false
matrix:
include:
- os: windows
- os: linux
dist: xenial
sudo: true
compiler: gcc
script:
############################################################################
# Build main and tests
############################################################################
- git clone https://github.com/ErDumont/testProg.git
- cd testProg
- mkdir build
- cd build
- cmake ../src
- cmake --build . --config Release
- ctest -C Release -V
##after_success:
## - ./build/testProg aa