diff --git a/.travis.yml b/.travis.yml index 6ca1db3677..3a4c3ecdce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -51,23 +51,28 @@ install: script: - bash .travis.sh +env: + global: + - MAKEFLAGS="-j 2" + - CCACHE_SLOPPINESS=pch_defines,time_macros + matrix: include: - compiler: gcc os: linux - env: TASK="build" CCACHE_SLOPPINESS=pch_defines,time_macros + env: TASK="build" - compiler: gcc os: linux - env: TASK="test" CCACHE_SLOPPINESS=pch_defines,time_macros + env: TASK="test" - compiler: clang os: linux - env: TASK="build" CCACHE_SLOPPINESS=pch_defines,time_macros + env: TASK="build" - compiler: clang os: linux - env: TASK="test" CCACHE_SLOPPINESS=pch_defines,time_macros + env: TASK="test" - compiler: gcc os: osx - env: TASK="test" CCACHE_SLOPPINESS=pch_defines,time_macros + env: TASK="test" - compiler: clang os: osx - env: TASK="test" CCACHE_SLOPPINESS=pch_defines,time_macros + env: TASK="test"