summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Black <daniel.black@au.ibm.com>2017-07-07 10:19:02 +1000
committerSergey Vojtovich <svoj@mariadb.org>2017-07-07 08:27:33 +0400
commit3b862aaa10942e7405b90cf80d0c3baca4cda55d (patch)
tree43441f334394af63c3e6c8f455fe4d4e485aea9f /.travis.yml
parentc89c49427d0b8c2534b572695e811ecc8d578b1f (diff)
downloadmariadb-git-3b862aaa10942e7405b90cf80d0c3baca4cda55d.tar.gz
travis: Debian build - minimise packages, enable ccache
Even disabling the ccache on the Debian build didn't always prevent the Travis build running out of space. As an alternative strategy, the number of alternative compilers has been reduced to save space. This additional space has been partially reused by the ccache. Debian build specific packages have been removed from other builds.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml50
1 files changed, 39 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index 454bd351627..56db0736607 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -40,15 +40,50 @@ matrix:
include:
- os: linux
compiler: gcc
- # disable cache - was out of disk space
- cache: false
+ addons:
+ apt:
+ packages: # make sure these match debian/control contents
+ - bison
+ - chrpath
+ - cmake
+ - debhelper
+ - dh-apparmor
+ - dpatch
+ - gdb
+ - libaio-dev
+ - libboost-dev
+ - libcurl3-dev
+ - libdbd-mysql
+ - libjudy-dev
+ - libncurses5-dev
+ - libpam0g-dev
+ - libpcre3-dev
+ - libreadline-gplv2-dev
+ - libstemmer-dev
+ - libssl-dev
+ - libnuma-dev
+ - libxml2-dev
+ - lsb-release
+ - perl
+ - po-debconf
+ - psmisc
+ - zlib1g-dev
+ - libcrack2-dev
+ - libjemalloc-dev
+ - libsnappy-dev
+ - liblzma-dev
+ - libzmq-dev
+ - libdistro-info-perl
+ - uuid-dev
+ - devscripts
+ - fakeroot
script:
- ${CC} --version ; ${CXX} --version
- source .travis.compiler.sh
# https://github.com/travis-ci/travis-ci/issues/7062 - /run/shm isn't writable or executable
# in trusty containers
- export MTR_MEM=/tmp
- - env DEB_BUILD_OPTIONS="parallel=6" MYSQL_BUILD_PATH=/usr/local/bin:/usr/bin:/bin debian/autobake-deb.sh;
+ - env DEB_BUILD_OPTIONS="parallel=6" debian/autobake-deb.sh;
- ccache --show-stats
# Until OSX becomes a bit more stable: MDEV-12435
allow_failures:
@@ -103,7 +138,7 @@ addons:
- llvm-toolchain-trusty
- llvm-toolchain-trusty-3.9
- llvm-toolchain-trusty-4.0
- packages: # make sure these match debian/control contents
+ packages: # make sure these match the build requirements
- gcc-5
- g++-5
- gcc-6
@@ -116,9 +151,6 @@ addons:
- bison
- chrpath
- cmake
- - debhelper
- - dh-apparmor
- - dpatch
- gdb
- libaio-dev
- libboost-dev
@@ -135,7 +167,6 @@ addons:
- libxml2-dev
- lsb-release
- perl
- - po-debconf
- psmisc
- zlib1g-dev
- libcrack2-dev
@@ -143,10 +174,7 @@ addons:
- libsnappy-dev
- liblzma-dev
- libzmq-dev
- - libdistro-info-perl
- uuid-dev
- - devscripts # implicit for any build on Ubuntu
- - fakeroot
# libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882