Skip to content

Commit ff1cf5d

Browse files
Run regression test directories in parallel during CI
1 parent 24b3f75 commit ff1cf5d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ jobs:
181181
- ccache --max-size=1G
182182
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=g++-5'
183183
- cmake --build build -- -j4
184-
script: (cd build; ctest -V -L CORE)
184+
script: (cd build; ctest -V -L CORE -j2)
185185

186186
- stage: Test different OS/CXX/Flags
187187
os: osx
@@ -197,7 +197,7 @@ jobs:
197197
- ccache --max-size=1G
198198
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=x86_64'
199199
- cmake --build build -- -j4
200-
script: (cd build; ctest -V -L CORE)
200+
script: (cd build; ctest -V -L CORE -j2)
201201

202202

203203
# Run Coverity
@@ -251,7 +251,7 @@ install:
251251

252252
script:
253253
- if [ -e bin/gcc ] ; then export PATH=$PWD/bin:$PATH ; fi ;
254-
- env UBSAN_OPTIONS=print_stacktrace=1 make -C regression test "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}"
254+
- env UBSAN_OPTIONS=print_stacktrace=1 make -C regression test "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
255255
- make -C unit "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
256256
- make -C unit test
257257

0 commit comments

Comments
 (0)