Reordered the build sequences in Travis to reduce the total CI time. (#162)
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/aee53ee5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/aee53ee5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/aee53ee5 Branch: refs/heads/master Commit: aee53ee5332579f60aef7914b3a1ec01a929aedb Parents: a39ad96 Author: Zuyu ZHANG <[email protected]> Authored: Thu Apr 14 14:29:37 2016 -0700 Committer: Jignesh Patel <[email protected]> Committed: Thu Apr 14 16:29:37 2016 -0500 ---------------------------------------------------------------------- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/aee53ee5/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index d347333..9c5eacf 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,18 +3,20 @@ # speed up compilation in release build. Also, jobs can only use upto 20GB of # disk space. Hence, we minimize the amount of debug symbol using -g0 (DEBUG # builds were taking > 20GB of space with clang). +# Also, to reduce the total CI time, we explicitly run the most time-consuming +# build first, using gcc in debug build with joinwithbinaryexpressions. language: cpp compiler: - - clang - gcc + - clang env: - - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=none - - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=none - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=joinwithbinaryexpressions - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=joinwithbinaryexpressions + - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=none + - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=none install: - if [ "$VECTOR_COPY_ELISION_LEVEL" = "joinwithbinaryexpressions" ] && [ "$CC" = "gcc" ]; then
