forked from lxrite/azure-http-proxy
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
28 lines (23 loc) · 785 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
language:
- cpp
compiler:
- clang
- gcc
before_install:
- sudo add-apt-repository ppa:apokluda/boost1.53 --yes
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test --yes
- if [ "${CXX}" == "clang++" ]; then sudo add-apt-repository --yes ppa:h-rayflood/llvm; fi
- sudo apt-get update
install:
- if [ "${CXX}" == "clang++" ]; then sudo apt-get -qq install clang-3.2; fi
- sudo apt-get install g++-4.8;
- sudo apt-get install libboost-system1.53-dev
- sudo apt-get install libboost-regex1.53-dev
before_script:
- if [ "${CXX}" == "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- if [ "${CXX}" == "clang++" ]; then export CXX="clang++-3.2" CC="clang-3.2"; fi
script:
- mkdir build
- cd build
- cmake ..
- make