Skip to content

Commit 902c5a9

Browse files
Run regression test directories in parallel during CI
1 parent 94ffce3 commit 902c5a9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
install:
180180
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_CXX_COMPILER=g++-5'
181181
- cmake --build build -- -j4
182-
script: (cd build; ctest -V -L CORE)
182+
script: (cd build; ctest -V -L CORE -j2)
183183

184184
- stage: Test different OS/CXX/Flags
185185
os: osx
@@ -190,7 +190,7 @@ jobs:
190190
install:
191191
- cmake -H. -Bbuild '-DCMAKE_BUILD_TYPE=Release' '-DCMAKE_OSX_ARCHITECTURES=x86_64'
192192
- cmake --build build -- -j4
193-
script: (cd build; ctest -V -L CORE)
193+
script: (cd build; ctest -V -L CORE -j2)
194194

195195

196196
# Run Coverity
@@ -243,7 +243,7 @@ install:
243243

244244
script:
245245
- if [ -e bin/gcc ] ; then export PATH=$PWD/bin:$PATH ; fi ;
246-
- env UBSAN_OPTIONS=print_stacktrace=1 make -C regression test "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}"
246+
- env UBSAN_OPTIONS=print_stacktrace=1 make -C regression test "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
247247
- make -C unit "CXX=${COMPILER}" "CXXFLAGS=-Wall -Werror -pedantic -O2 -g ${EXTRA_CXXFLAGS}" -j2
248248
- make -C unit test
249249

0 commit comments

Comments
 (0)