-
Notifications
You must be signed in to change notification settings - Fork 44
/
Copy path.travis.yml
46 lines (40 loc) · 1 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
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- CC=gcc-7
- CXX=g++-7
language: cpp
before_install:
- lsb_release -a
- which clang
- which clang++
install:
- sudo apt-get -y install wget
- sudo apt-get -y install iproute2
- wget -nd https://github.com/google/googletest/archive/release-1.10.0.tar.gz
- tar zxvf release-1.10.0.tar.gz
before_script:
- pwd
- ls -l
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then
sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6';
fi
- ip a
- ./configure --with-gtest-source=`pwd`/googletest-release-1.10.0
script:
- make
- make check
notifications:
recipients:
email:
on_success: change
on_failure: always