Commit 8be01458 authored by kevg's avatar kevg Committed by Aleksey Midenkov

Scripts: try to fix Travis

parent daa9bc8b
...@@ -21,6 +21,7 @@ env: ...@@ -21,6 +21,7 @@ env:
- GCC_VERSION=4.8 - GCC_VERSION=4.8
- GCC_VERSION=5 - GCC_VERSION=5
- GCC_VERSION=6 - GCC_VERSION=6
addons: addons:
apt: apt:
sources: sources:
...@@ -32,10 +33,6 @@ addons: ...@@ -32,10 +33,6 @@ addons:
# https://github.com/travis-ci/apt-source-whitelist/pull/288 # https://github.com/travis-ci/apt-source-whitelist/pull/288
# https://github.com/travis-ci/apt-source-whitelist/pull/309 # https://github.com/travis-ci/apt-source-whitelist/pull/309
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
...@@ -76,7 +73,6 @@ env: ...@@ -76,7 +73,6 @@ env:
# 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:
- export MYSQL_BUILD_CC=/usr/bin/gcc-${GCC_VERSION} MYSQL_BUILD_CXX=/usr/bin/g++-${GCC_VERSION} - ${CC} --version ; ${CXX} --version
- ${MYSQL_BUILD_CC} --version ; ${MYSQL_BUILD_CXX} --version
- cd "${TRAVIS_BUILD_DIR}" - cd "${TRAVIS_BUILD_DIR}"
- "LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4 cmake -DWITH_INNOBASE_STORAGE_ENGINE=yes $BUILD_TYPE && LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4 make -j $(grep -c processor /proc/cpuinfo) && cd ./mysql-test && ./mtr $MTR_FLAGS --suite=versioning --force --max-test-fail=0" - "LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4 cmake -DWITH_INNOBASE_STORAGE_ENGINE=yes $BUILD_TYPE && LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.4 make -j $(grep -c processor /proc/cpuinfo) && cd ./mysql-test && ./mtr $MTR_FLAGS --suite=versioning --force --max-test-fail=0"
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