Skip to content

Commit

Permalink
Scripts: try to fix Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgs authored and midenok committed May 5, 2017
1 parent daa9bc8 commit 8be0145
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ env:
- GCC_VERSION=4.8
- GCC_VERSION=5
- GCC_VERSION=6

addons:
apt:
sources:
Expand All @@ -32,10 +33,6 @@ addons:
# https://github.com/travis-ci/apt-source-whitelist/pull/288
# https://github.com/travis-ci/apt-source-whitelist/pull/309
packages: # make sure these match debian/control contents
- gcc-5
- g++-5
- gcc-6
- g++-6
- bison
- chrpath
- cmake
Expand Down Expand Up @@ -76,7 +73,6 @@ env:
# libsystemd-daemon-dev # https://github.com/travis-ci/apt-package-whitelist/issues/3882

script:
- 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
- ${CC} --version ; ${CXX} --version
- 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"

0 comments on commit 8be0145

Please sign in to comment.