-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
55 lines (45 loc) · 1.12 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
# @file .travis.yml
# @authors Vivek Sood and Charu Sharma
# @brief yml for travis build
# @date 2021-10-05
# @copyright Copyright (c) 2021
# ENPM808X Midterm - Phase 0 Proposal
dist: xenial
language: cpp
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-5
- cmake
- cmake-data
- libboost-dev
- libboost-all-dev
- gnuplot
- gnuplot-x11
env: COMPILER=g++-5
before_install:
- pip install --user cpp-coveralls
install:
- sudo apt-get install -y -qq lcov
- sudo apt-get install gnuplot
script:
- export CXX=$COMPILER;
- mkdir build
- cd build
- cmake -DCOVERAGE=ON -DCMAKE_BUILD_TYPE=Debug ../
- make
- make code_coverage
- test/cpp-test
after_success:
- coveralls --root .. -E ".*external.*" -E ".*CMakeFiles.*" -E ".*test/.*.cpp.*" -E ".*include/.*gnuplot-iostream.h." -E ".*app/.*main.cpp.*"
notifications:
email:
recipients:
- viveksood257@gmail.com