-
Notifications
You must be signed in to change notification settings - Fork 19
/
.travis.yml
33 lines (28 loc) · 980 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
29
30
31
32
33
language: cpp
compiler:
- gcc
before_install:
- sudo add-apt-repository -y ppa:andykimpe/cmake
- sudo add-apt-repository -y ppa:boost-latest/ppa
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get -qq update
install:
- sudo apt-get install cmake
- sudo apt-get install -qq boost1.55
- wget ftp://[email protected]/travis/gcc_4.9.1-1_amd64.deb
- sudo apt-get remove cpp libffi-dev
- sudo dpkg --install gcc_4.9.1-1_amd64.deb
- sudo rm /usr/lib/x86_64-linux-gnu/libstdc++.so.6
- export LD_LIBRARY_PATH=/usr/lib64
- sudo ln -s /usr/lib64/libstd* /usr/lib/x86_64-linux-gnu/
script:
- cd sqlite3
- cmake .
- make
- cd ../test
- cmake .
- make
after_success:
- sudo pip install cpp-coveralls
- cd ..
- coveralls -r . -e test -e sqlite3 --gcov-options '\-lp'