forked from meltwater/served
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (42 loc) · 1.14 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
47
language: cpp
os:
- linux
compiler:
- clang
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update
- sudo apt-get install g++-4.8
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90
- sudo apt-get install libstdc++-4.8-dev
- sudo apt-get install git
- sudo apt-add-repository -y ppa:boost-latest/ppa
- sudo apt-get update
- sudo apt-get install -y libboost1.55-all-dev
- export CMAKE_VERSION="3.1.0"
- wget "http://www.cmake.org/files/v3.1/cmake-${CMAKE_VERSION}.tar.gz"
- openssl sha1 "cmake-${CMAKE_VERSION}.tar.gz"
- tar xf "cmake-${CMAKE_VERSION}.tar.gz"
- cd "cmake-${CMAKE_VERSION}"
- ./bootstrap --prefix=~
- make
- make install
- export PATH="~/bin:${PATH}"
- cd ..
- which cmake
- cmake --version
- which g++
- g++ -v
- cd ..
script:
- mkdir build && cd build
- cmake .. && make
notifications:
email:
recipients:
on_success: change
on_failure: change