Build only the release jobs. - Use only one thread to avoid OOM.
Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/dec87234 Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/dec87234 Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/dec87234 Branch: refs/heads/min-max-stats Commit: dec87234c53db8bd27bbe6a22b28b7e461cae9c6 Parents: 178ed4b Author: Zuyu Zhang <zu...@apache.org> Authored: Mon Nov 14 21:57:19 2016 -0800 Committer: Zuyu Zhang <zu...@apache.org> Committed: Sun Nov 20 19:22:51 2016 -0800 ---------------------------------------------------------------------- .travis.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/dec87234/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml index 784a46f..9b43b16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,17 +15,10 @@ compiler: - clang env: - - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=joinwithbinaryexpressions - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=joinwithbinaryexpressions - - BUILD_TYPE=Debug VECTOR_COPY_ELISION_LEVEL=selection - BUILD_TYPE=Release VECTOR_COPY_ELISION_LEVEL=selection install: - - if [ "$CC" = "gcc" ] || [[ "$BUILD_TYPE" = "Release" ]]; then - export MAKE_JOBS=1; - else - export MAKE_JOBS=2; - fi - export TEST_JOBS=2; - if [ "$CC" = "gcc" ]; then export CC="gcc-5"; @@ -61,7 +54,7 @@ script: - ./third_party/cpplint/lint_everything.py - ./validate_cmakelists.py - ./cyclic_dependency.py - - (cd build && make -j$MAKE_JOBS) + - (cd build && make) - (cd build && ctest --output-on-failure -j$TEST_JOBS) after_failure: