forked from finos/perspective
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
61 lines (55 loc) · 1.33 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
language: cpp
env:
global:
- LINUX_DIST=xenial
- CXX_FLAGS="-Wall -pedantic -Werror"
- RUN_TESTS=true
- COVERAGE=false
matrix:
include:
- os: linux
dist: xenial
compiler:
- gcc
- clang
addons:
apt:
packages:
- gcc
- g++
- clang
- valgrind
- lcov
- cmake
- python-pip
- libboost-dev
- os: osx
osx_image: xcode10
sudo: required
before_install:
- export CMAKE_OPTIONS=${CMAKE_OPTIONS}" "${ENV_CMAKE_OPTIONS}
- export CXX_FLAGS=${CXX_FLAGS}" "${ENV_CXX_FLAGS}
install:
- echo ${PATH}
- echo ${CXX}
- ${CXX} --version
- ${CXX} -v
- sudo pip install codecov
script:
############################################################################
# Build main and tests
############################################################################
- mkdir -p build
- cd build
- cmake ${CMAKE_OPTIONS} -DPSP_BOOST_INCLUDE="/usr/include" -DCMAKE_CXX_FLAGS=${CXX_FLAGS} -DCMAKE_BUILD_TYPE=Debug ..
- make -j 2
- ./install/psp_test
after_success:
- cd ${TRAVIS_BUILD_DIR}/build
- codecov -t d3521bcc-0b7e-4f21-aa3c-f4a6f62e4692
notifications:
email:
- perspective.notify@gmail.com
env:
global:
- LANG="en_US.UTF-8"