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 ...@@ -28,11 +28,13 @@ fi
if [ -z ${COMPILER_TYPE} ]; then if [ -z ${COMPILER_TYPE} ]; then
COMPILER_TYPE="gcc" COMPILER_TYPE="gcc"
fi fi
if [ ${COMPILER_TYPE} == "gcc" ]; then if [ -z ${COMPILER_VERSION} ]; then
COMPILER_VERSION="gcc8" if [ ${COMPILER_TYPE} == "gcc" ]; then
fi COMPILER_VERSION="gcc8"
if [[ ${COMPILER_TYPE} == "clang" ]]; then fi
COMPILER_VERSION="clang8" if [[ ${COMPILER_TYPE} == "clang" ]]; then
COMPILER_VERSION="clang8"
fi
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