-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
45 lines (39 loc) · 1.1 KB
/
.travis.yml
File metadata and controls
45 lines (39 loc) · 1.1 KB
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
dist: trusty
language:
- cpp
compiler:
- gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- g++-7
- cmake
notifications:
slack:
rooms:
- cognitivevr:HHACAo19lTRQXZWblbfGaL36
on_success: change
on_failure: change
email:
recipients:
- engineering@cognitive3d.com
on_success: always
on_failure: always
script:
# Export CC and CXX to tell cmake which compiler to use
- export CC=gcc-7
- export CXX=g++-7
# Check versions of gcc, g++ and cmake
- gcc -v && g++ -v && cmake --version
# Run your build commands next
- cd ClientProject/ClientProject
- g++ ../../CognitiveVRAnalytics/CognitiveVRAnalytics/*.c* include/googletest/src/gtest-all.cc ClientProject.cpp stdafx.cpp -std=c++11 -I ../../CognitiveVRAnalytics/CognitiveVRAnalytics -I include/curl -I include/googletest -I include/googletest/include -I include/googletest/internal/custom -lcurl -lpthread
- ./a.out --gtest_output=xml
# only test on development and master
branches:
only:
- development
- master