/
.travis.yml
23 lines (23 loc) · 953 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
language: cpp
compiler: gcc
before_script:
- lsb_release -a
- uname -a
- sudo add-apt-repository -y "deb http://ppa.launchpad.net/dns/gnu/ubuntu precise main"
- sudo add-apt-repository -y "deb http://ppa.launchpad.net/wnoronha/thrift/ubuntu precise main"
- sudo add-apt-repository -y "deb http://ppa.launchpad.net/boost-latest/ppa/ubuntu precise main"
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq g++-4.8
- sudo apt-get install -qq automake autoconf autoconf-archive libboost1.55-all-dev
- sudo apt-get install -qq libxslt1.1 python-lxml libthrift-dev libthrift0 thrift-compiler
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
- ./bootstrap
- g++ --version
script:
- ./configure --with-boost-libdir=/usr/lib/x86_64-linux-gnu #--with-thrift=/usr
- make debug=true optimize=3
after_script:
- cat config.log
branches:
only: master