Skip to content

Commit 20619ed

Browse files
committed
Merge pull request #25 from yandod/travis
add .travis.yml
2 parents 7a3933e + 1b413d3 commit 20619ed

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: cpp
2+
3+
compiler:
4+
- clang
5+
6+
before_install:
7+
- sudo apt-get install clang git libssl-dev
8+
- sudo add-apt-repository -y ppa:boost-latest/ppa
9+
- sudo add-apt-repository -y ppa:kubuntu-ppa/backports
10+
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test -y
11+
- sudo apt-get update -yqq
12+
- sudo apt-get install -y libboost1.55-dev libboost-system1.55-dev libboost-date-time1.55-dev libboost-random1.55-dev
13+
- sudo apt-get install -y cmake g++-4.8
14+
- sed -i -e 's/cmake_minimum_required(VERSION 3.1.0/cmake_minimum_required(VERSION 2.8.12/' ./CMakeLists.txt
15+
script:
16+
- cmake -D CMAKE_CXX_FLAGS=-std=c++11 .
17+
- make
18+
- make install

0 commit comments

Comments
 (0)