From 0278aa2fbb895da4c90e485b915556f42717e1e1 Mon Sep 17 00:00:00 2001 From: Jannis Froese Date: Fri, 2 May 2014 15:13:55 +0200 Subject: [PATCH 1/3] add travis check for disable-wallet compile mode --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0fe38fa1f..373b37a10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,10 @@ script: - ./autogen.sh - ./configure CFLAGS="-O3" - make -j 2 - - cd ./src + - make check + - make clean + - ./configure --disable-wallet CFLAGS="-O3" + - make -j 2 - make check notifications: irc: From 03197310fbaa3b3d59c49c0a359ad8d73ed73e28 Mon Sep 17 00:00:00 2001 From: Jannis Froese Date: Fri, 2 May 2014 16:25:12 +0200 Subject: [PATCH 2/3] speed up Travis CI build --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 373b37a10..dd5bd029c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,11 +11,11 @@ before_install: - sudo apt-get install libprotobuf-dev protobuf-compiler script: - ./autogen.sh - - ./configure CFLAGS="-O3" + - CFLAGS="-O1" CXXFLAGS="-O1" ./configure - make -j 2 - make check - make clean - - ./configure --disable-wallet CFLAGS="-O3" + - CFLAGS="-O1" CXXFLAGS="-O1" ./configure --disable-wallet - make -j 2 - make check notifications: From 293741f7e68db53481925fd0823e513754e35b62 Mon Sep 17 00:00:00 2001 From: Jannis Froese Date: Fri, 2 May 2014 18:16:09 +0200 Subject: [PATCH 3/3] add ccache to Travis config --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd5bd029c..0dc3e5473 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,14 @@ compiler: - gcc before_install: - sudo apt-get update -qq - - sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev pkg-config + - sudo apt-get install build-essential libtool autotools-dev autoconf libssl-dev pkg-config ccache - sudo apt-get install libboost1.48-dev libboost-chrono1.48-dev libboost-filesystem1.48-dev libboost-program-options1.48-dev libboost-system1.48-dev libboost-test1.48-dev libboost-thread1.48-dev - sudo apt-get install libdb++-dev - sudo apt-get install libqt4-dev - sudo apt-get install libprotobuf-dev protobuf-compiler + - mkdir $HOME/.ccache + - export CCACHE_DIR=$HOME/.ccache + - ccache -M 1G script: - ./autogen.sh - CFLAGS="-O1" CXXFLAGS="-O1" ./configure