Skip to content

Commit 5a2c98d

Browse files
author
Martin Müllenhaupt
committed
travis fun
1 parent b5f6404 commit 5a2c98d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.travis.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -32,32 +32,34 @@ matrix:
3232
- make -j8
3333
- cd ..
3434
- os: linux
35-
sudo: false
35+
dist: trusty
36+
sudo: require
3637
compiler: gcc
38+
language: cpp
3739
addons:
3840
apt:
3941
sources:
4042
- ubuntu-toolchain-r-test
41-
- george-edison55-precise-backports
4243
packages:
44+
- gcc-6
4345
- g++-6
4446
- cmake
45-
- cmake-data
4647
- python3
4748
- openssl
4849
env:
4950
- UID_FILENAME=faf-uid
5051
- UID_PLATFORM='linux'
5152
- JSONCPP_VERSION=1.7.7
5253
- CRYPTOPP_VERSION=5_6_5
53-
install:
54+
script:
55+
- sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
56+
- sudo ln -s /usr/bin/g++-6 /usr/local/bin/g++
5457
- wget https://github.com/open-source-parsers/jsoncpp/archive/$JSONCPP_VERSION.tar.gz -O jsoncpp.tar.gz
5558
- tar xfz jsoncpp.tar.gz
5659
- mkdir jsoncpp-build
5760
- cd jsoncpp-build
5861
- cmake
5962
-DCMAKE_BUILD_TYPE=MinSizeRel
60-
-DCMAKE_CXX_COMPILER=g++-6
6163
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
6264
-DBUILD_STATIC_LIBS=ON
6365
-DBUILD_SHARED_LIBS=OFF
@@ -68,13 +70,11 @@ matrix:
6870
- unzip ./cryptopp.zip
6971
- mv cryptopp-CRYPTOPP_$CRYPTOPP_VERSION cryptopp
7072
- cd cryptopp
71-
- make -j8 -f GNUmakefile CXX=g++-6 CXXFLAGS='-DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -DNDEBUG -O3' libcryptopp.a
73+
- make -j8 -f GNUmakefile CXXFLAGS='-DCRYPTOPP_NO_BACKWARDS_COMPATIBILITY_562 -DNDEBUG -O3' libcryptopp.a
7274
- cd ..
7375
- openssl aes-256-cbc -K $encrypted_13e88f9b9a4f_key -iv $encrypted_13e88f9b9a4f_iv -in faf_pub.pem.enc -out faf_pub.pem -d
74-
script:
7576
- mkdir build && cd build
7677
- cmake
77-
-DCMAKE_CXX_COMPILER=g++-6
7878
-DJSONCPP_LIBRARIES=$TRAVIS_BUILD_DIR/jsoncpp-build/src/lib_json/libjsoncpp.a
7979
-DJSONCPP_INCLUDE_DIRS=$TRAVIS_BUILD_DIR/jsoncpp-$JSONCPP_VERSION/include
8080
-DCRYPTOPP_LIBRARIES=$TRAVIS_BUILD_DIR/cryptopp/libcryptopp.a

0 commit comments

Comments
 (0)