Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
838c196f
Commit
838c196f
authored
Dec 25, 2018
by
Shinnok
Committed by
GitHub
Dec 25, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #937 from grooverdan/10.4-travis
10.4 travis - newer compilers, ignore common clang warnings
parents
ca619ed1
85c9c07c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
19 deletions
+39
-19
.travis.compiler.sh
.travis.compiler.sh
+10
-2
.travis.yml
.travis.yml
+29
-17
No files found.
.travis.compiler.sh
View file @
838c196f
...
@@ -25,12 +25,20 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then
...
@@ -25,12 +25,20 @@ if [[ "${TRAVIS_OS_NAME}" == 'linux' ]]; then
ccache
--max-size
=
2200M
ccache
--max-size
=
2200M
fi
fi
if
[[
"
${
CXX
}
"
==
'clang++'
]]
;
then
if
[[
"
${
CXX
}
"
==
'clang++'
]]
;
then
export
CXX
CC
=
${
CXX
/++/
}
if
[[
"
${
CC_VERSION
}
"
==
'6'
]]
;
then
export
CXX
=
${
CXX
}
-
${
CC_VERSION
}
.0
else
export
CXX
=
${
CXX
}
-
${
CC_VERSION
}
fi
export
CC
=
${
CXX
/++/
}
# excess warnings about unused include path
export
CFLAGS
=
'-Wno-unused-command-line-argument'
export
CXXFLAGS
=
'-Wno-unused-command-line-argument'
elif
[[
"
${
CXX
}
"
==
'g++'
]]
;
then
elif
[[
"
${
CXX
}
"
==
'g++'
]]
;
then
export
CXX
=
g++-
${
CC_VERSION
}
export
CXX
=
g++-
${
CC_VERSION
}
export
CC
=
gcc-
${
CC_VERSION
}
export
CC
=
gcc-
${
CC_VERSION
}
fi
fi
if
[[
${
CC_VERSION
}
==
6
]]
;
then
if
[[
${
CC_VERSION
}
==
7
]]
;
then
wget http://mirrors.kernel.org/ubuntu/pool/universe/p/percona-xtradb-cluster-galera-2.x/percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb
;
wget http://mirrors.kernel.org/ubuntu/pool/universe/p/percona-xtradb-cluster-galera-2.x/percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb
;
ar vx percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb
ar vx percona-xtradb-cluster-galera-2.x_165-0ubuntu1_amd64.deb
tar
-xJvf
data.tar.xz
tar
-xJvf
data.tar.xz
...
...
.travis.yml
View file @
838c196f
...
@@ -25,17 +25,21 @@ cache:
...
@@ -25,17 +25,21 @@ cache:
env
:
env
:
matrix
:
matrix
:
-
CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
-
CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
-
CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
-
CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
-
CC_VERSION=5 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
-
CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
-
CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
-
CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
-
CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb
-
CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb
-
CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
-
CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
-
CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
matrix
:
matrix
:
exclude
:
exclude
:
-
os
:
osx
-
os
:
osx
compiler
:
gcc
compiler
:
gcc
-
os
:
osx
compiler
:
clang
env
:
CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
include
:
include
:
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -90,38 +94,46 @@ matrix:
...
@@ -90,38 +94,46 @@ matrix:
allow_failures
:
allow_failures
:
-
os
:
osx
-
os
:
osx
compiler
:
clang
compiler
:
clang
env
:
CC_VERSION=
5
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
env
:
CC_VERSION=
6
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rpl
-
os
:
osx
-
os
:
osx
compiler
:
clang
compiler
:
clang
env
:
CC_VERSION=
5
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
env
:
CC_VERSION=
6
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
-
os
:
osx
-
os
:
osx
compiler
:
clang
compiler
:
clang
env
:
CC_VERSION=
5
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
env
:
CC_VERSION=
6
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=archive,optimizer_unfixed_bugs,parts,sys_vars,unit,vcol,innodb,innodb_gis,innodb_zip,innodb_fts
-
os
:
osx
-
os
:
osx
compiler
:
clang
compiler
:
clang
env
:
CC_VERSION=
6
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
env
:
CC_VERSION=
7
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=binlog,binlog_encryption,encryption
-
os
:
osx
-
os
:
osx
compiler
:
clang
compiler
:
clang
env
:
CC_VERSION=
6
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb
env
:
CC_VERSION=
7
TYPE=RelWithDebInfo MYSQL_TEST_SUITES=rocksdb
-
os
:
osx
-
os
:
osx
compiler
:
clang
compiler
:
clang
env
:
CC_VERSION=6 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
env
:
CC_VERSION=7 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=csv,federated,funcs_1,funcs_2,gcol,handler,heap,json,maria,perfschema,plugins,multi_source,roles
-
os
:
linux
compiler
:
clang
env
:
CC_VERSION=8 TYPE=RelWithDebInfo MYSQL_TEST_SUITES=main
addons
:
addons
:
apt
:
apt
:
sources
:
sources
:
-
ubuntu-toolchain-r-test
-
ubuntu-toolchain-r-test
-
llvm-toolchain-trusty-5.0
-
llvm-toolchain-trusty-6.0
-
llvm-toolchain-trusty-6.0
-
llvm-toolchain-trusty-7
-
llvm-toolchain-trusty
packages
:
# make sure these include all compilers and all build dependencies (see list above)
packages
:
# make sure these include all compilers and all build dependencies (see list above)
-
gcc-5
-
g++-5
-
gcc-6
-
gcc-6
-
g++-6
-
g++-6
-
clang-5.0
-
gcc-7
-
llvm-5.0-dev
-
g++-7
-
gcc-8
-
g++-8
-
clang-6.0
-
clang-6.0
-
llvm-6.0-dev
-
llvm-6.0-dev
-
clang-7
-
llvm-7-dev
-
clang-8
-
llvm-8-dev
-
bison
-
bison
-
chrpath
-
chrpath
-
cmake
-
cmake
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment