Commit e14bdcb8 authored by Daniel Black's avatar Daniel Black Committed by Sergey Vojtovich

travis: gcc-5 and gcc-6

parent 9213ac8f
...@@ -12,9 +12,21 @@ cache: ...@@ -12,9 +12,21 @@ cache:
- apt - apt
- ccache - ccache
env:
matrix:
- GCC_VERSION=5
- GCC_VERSION=6
addons: addons:
apt: apt:
sources:
- ubuntu-toolchain-r-test
# - llvm-toolchain-trusty-3.8
# - llvm-toolchain-trusty-3.9
packages: # make sure these match debian/control contents packages: # make sure these match debian/control contents
- gcc-5
- g++-5
- gcc-6
- g++-6
- bison - bison
- chrpath - chrpath
- cmake - cmake
...@@ -48,7 +60,8 @@ addons: ...@@ -48,7 +60,8 @@ addons:
# libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882 # libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882
script: script:
- ${CC} --version ; ${CXX} --version - export MYSQL_BUILD_CC=/usr/bin/gcc-${GCC_VERSION} MYSQL_BUILD_CXX=/usr/bin/g++-${GCC_VERSION}
- ${MYSQL_BUILD_CC} --version ; ${MYSQL_BUILD_CXX} --version
- cd "${TRAVIS_BUILD_DIR}" - cd "${TRAVIS_BUILD_DIR}"
- env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh; - env DEB_BUILD_OPTIONS="parallel=4" debian/autobake-deb.sh;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment