forked from morganstanley/Xpedite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (31 loc) · 793 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
language: cpp
sudo: required
dist: xenial
compiler:
- gcc
branches:
only:
- master
before_install:
- sudo apt-get install -y libgtest-dev cmake
addons:
apt:
update: true
before_script:
- sudo wget https://github.com/google/googletest/archive/release-1.7.0.tar.gz
- sudo tar xf release-1.7.0.tar.gz
- pushd googletest-release-1.7.0
- sudo cmake -DBUILD_SHARED_LIBS=ON .
- sudo make
- sudo cp -a include/gtest /usr/include
- sudo cp -a libgtest_main.so libgtest.so /usr/lib/
- sudo sh -c 'echo -1 >/proc/sys/kernel/perf_event_paranoid'
- popd
script:
- ./build.sh
- ./install.sh
- ./test/validateTarFiles.sh
- ./test/runTest.sh -c
after_success:
- PATH=./install/runtime/bin:${PATH} python -m pip install codecov
- PATH=./install/runtime/bin:${PATH} codecov