diff options
author | Haru <haru@dotalux.com> | 2018-08-26 01:45:11 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-08-26 15:44:48 +0200 |
commit | 13d7a0c2701eb44025d61eb8971d0af989509389 (patch) | |
tree | 1e03f8bab905095506a835407c8d69c2081f2409 | |
parent | adae3d4518a4eae5424a3bbff40d11d3eb90a52a (diff) | |
download | hercules-13d7a0c2701eb44025d61eb8971d0af989509389.tar.gz hercules-13d7a0c2701eb44025d61eb8971d0af989509389.tar.bz2 hercules-13d7a0c2701eb44025d61eb8971d0af989509389.tar.xz hercules-13d7a0c2701eb44025d61eb8971d0af989509389.zip |
Fix CentOS builds in gitlab-ci
Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r-- | .gitlab-ci.yml | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e98922276..d9a156298 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -901,13 +901,12 @@ pre_re:centos-previous: - echo "Building $CI_BUILD_NAME" - uname -a - yum -y update - - yum install -y make mysql-devel pcre-devel git zlib-devel mysql - - yum install -y centos-release-scl - - yum install -y yum install devtoolset-3-toolchain + - yum install -y make mysql-devel pcre-devel git zlib-devel mysql centos-release-scl + - yum install -y devtoolset-6-toolchain - ./tools/ci/travis.sh importdb ragnarok ragnarok ragnarok $SQLHOST - ./tools/ci/travis.sh getplugins || true script: - - scl enable devtoolset-3 './tools/ci/travis.sh build CFLAGS="-Wno-cast-qual" --enable-debug --enable-Werror --enable-buildbot --disable-renewal' + - 'source /opt/rh/devtoolset-6/enable && ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot --disable-renewal' - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST re:centos-previous: @@ -923,13 +922,12 @@ re:centos-previous: - echo "Building $CI_BUILD_NAME" - uname -a - yum -y update - - yum install -y make mysql-devel pcre-devel git zlib-devel mysql - - yum install -y centos-release-scl - - yum install -y yum install devtoolset-3-toolchain + - yum install -y make mysql-devel pcre-devel git zlib-devel mysql centos-release-scl + - yum install -y devtoolset-6-toolchain - ./tools/ci/travis.sh importdb ragnarok ragnarok ragnarok $SQLHOST - ./tools/ci/travis.sh getplugins || true script: - - scl enable devtoolset-3 './tools/ci/travis.sh build CFLAGS="-Wno-cast-qual" --enable-debug --enable-Werror --enable-buildbot' + - 'source /opt/rh/devtoolset-6/enable && ./tools/ci/travis.sh build --enable-debug --enable-Werror --enable-buildbot' - ./tools/ci/travis.sh test ragnarok ragnarok ragnarok $SQLHOST pre_re:centos-current: |