Skip to content
Snippets Groups Projects
Commit cab21aa9 authored by Andre Sailer's avatar Andre Sailer
Browse files

Travis: Allow compiler version be set from outside

parent 6fa14ba9
No related branches found
No related tags found
No related merge requests found
......@@ -28,11 +28,13 @@ fi
if [ -z ${COMPILER_TYPE} ]; then
COMPILER_TYPE="gcc"
fi
if [ ${COMPILER_TYPE} == "gcc" ]; then
COMPILER_VERSION="gcc8"
fi
if [[ ${COMPILER_TYPE} == "clang" ]]; then
COMPILER_VERSION="clang8"
if [ -z ${COMPILER_VERSION} ]; then
if [ ${COMPILER_TYPE} == "gcc" ]; then
COMPILER_VERSION="gcc8"
fi
if [[ ${COMPILER_TYPE} == "clang" ]]; then
COMPILER_VERSION="clang8"
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment