forked from librevault/librevault
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
27 lines (26 loc) · 852 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
language: cpp
compiler:
- gcc
# - clang
install:
- sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-add-repository -y "deb http://llvm.org/apt/precise/ llvm-toolchain-precise-3.6 main"
- sudo apt-add-repository -y ppa:boost-latest/ppa
- wget -O - http://llvm.org/apt/llvm-snapshot.gpg.key | sudo apt-key add -
-
- sudo apt-get update
- sudo apt-get install libboost1.55 clang-3.6 g++-4.9 gcc-4.9 build-essential libgtest-dev protobuf-compiler libprotobuf-dev
- sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 80 --slave /usr/bin/g++ g++ /usr/bin/g++-4.9
-
- wget -O cryptopp.zip http://www.cryptopp.com/cryptopp562.zip
- unzip cryptopp.zip -d cryptopp
- cd cryptopp
- make && sudo make install
- cd ..
script:
- cmake .
- make
branches:
only:
- master
- travis-config