-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·34 lines (29 loc) · 1.03 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
language: c++
compiler:
- g++
matrix:
include:
# works on Precise and Trusty
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
before_install:
- eval "${MATRIX_EVAL}"
before_script:
- curl -L https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz -o libevent-2.1.8-stable.tar.gz
- tar xvf libevent-2.1.8-stable.tar.gz && cd libevent-2.1.8-stable && ./configure && make && sudo make install && cd ..
- wget https://github.com/google/glog/archive/v0.3.5.tar.gz && tar xvf v0.3.5.tar.gz && cd glog-0.3.5 && ./configure && make && sudo make install && cd ..
- git clone https://github.com/corehacker/ch-cpp-utils.git && cd ch-cpp-utils && ./autogen.sh && ./configure && make && sudo make install && cd ..
script: |
./autogen.sh
./configure
make
notifications:
email:
- 123sandy@gmail.com