- if [ -n "$COVERALLS" ]; then
pip install --user cpp-coveralls;
fi
+ - export JOBS=20
+ - export TIMEOUT=50
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update;
brew uninstall libtool && brew install libtool;
export
CFLAGS=-I$CMAKE_INCLUDE_PATH
LDFLAGS=-L$CMAKE_LIBRARY_PATH;
+
+ export JOBS=4;
fi
addons:
./autogen.sh &&
./configure $EVENT_CONFIGURE_OPTIONS &&
make &&
- make verify;
+ travis_wait $TIMEOUT make -j $JOBS verify;
fi
- if [ "$EVENT_BUILD_METHOD" = "cmake" ]; then
+ export
+ CTEST_PARALLEL_LEVEL=$JOBS
+ CTEST_OUTPUT_ON_FAILURE=1;
+
mkdir build &&
cd build &&
cmake .. $EVENT_CMAKE_OPTIONS &&
- cmake --build . &&
- CTEST_OUTPUT_ON_FAILURE=1 cmake --build . --target verify;
+ travis_wait $TIMEOUT
+ cmake --build . --target verify;
fi
after_script:
export CTEST_TEST_TIMEOUT=1800
export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=10
+ export CTEST_PARALLEL_LEVEL=20
cmake --build . --target verify
SHELL
end
cd /vagrant
./autogen.sh
./configure
- make -j4 verify
+ make -j20 verify
SHELL
end
end
export CTEST_TEST_TIMEOUT=1800
export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=10
+ export CTEST_PARALLEL_LEVEL=20
cmake --build . --target verify
SHELL
end
cd /vagrant
./autogen.sh
./configure
- make -j4 verify
+ make -j20 verify
SHELL
end
end
export CTEST_TEST_TIMEOUT=1800
export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=10
+ export CTEST_PARALLEL_LEVEL=20
cmake --build . --target verify
SHELL
end
cd /vagrant
./autogen.sh
./configure
- make -j4 verify
+ make -j20 verify
SHELL
end
end
export CTEST_TEST_TIMEOUT=1800
export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=10
+ export CTEST_PARALLEL_LEVEL=20
cmake --build . --target verify
SHELL
end
cd ~/vagrant
./autogen.sh
MAKE=gmake ./configure
- gmake -j4 verify
+ gmake -j20 verify
SHELL
end
end
export CTEST_TEST_TIMEOUT=1800
export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=10
+ export CTEST_PARALLEL_LEVEL=20
cmake --build . --target verify
SHELL
end
cd /vagrant
./autogen.sh
./configure
- make -j4 verify
+ make -j20 verify
SHELL
end
end
export CTEST_TEST_TIMEOUT=1800
export CTEST_OUTPUT_ON_FAILURE=1
- export CTEST_PARALLEL_LEVEL=10
+ export CTEST_PARALLEL_LEVEL=20
cmake --build . --target verify
SHELL
end
cd /vagrant
./autogen.sh
./configure
- make -j4 verify
+ make -j20 verify
SHELL
end
end
bash -lc "echo 'C:/OpenSSL-Win32 /ssl ntfs binary 0 0' >> /etc/fstab"
bash -lc "echo 'C:/vagrant /vagrant ntfs binary 0 0' >> /etc/fstab"
- bash -lc "exec 0</dev/null; exec 2>&1; cd /vagrant; bash -x ./autogen.sh && ./configure LDFLAGS='-L/ssl -L/ssl/lib -L/ssl/lib/MinGW' CFLAGS=-I/ssl/include && make -j4 verify"
+ bash -lc "exec 0</dev/null; exec 2>&1; cd /vagrant; bash -x ./autogen.sh && ./configure LDFLAGS='-L/ssl -L/ssl/lib -L/ssl/lib/MinGW' CFLAGS=-I/ssl/include && make -j20 verify"
SHELL
end
end
bash -lc "echo 'C:\MinGW /mingw' > /etc/fstab"
bash -lc "echo 'C:\OpenSSL-Win32 /ssl' >> /etc/fstab"
$env:APPVEYOR_BUILD_FOLDER = $env:APPVEYOR_BUILD_FOLDER -replace "\\", "/"
- bash -lc "exec 0</dev/null; exec 2>&1; cd $env:APPVEYOR_BUILD_FOLDER; bash -x ./autogen.sh && ./configure LDFLAGS='-L/ssl -L/ssl/lib -L/ssl/lib/MinGW' CFLAGS=-I/ssl/include $env:EVENT_CONFIGURE_OPTIONS && make && make verify"
+ bash -lc "exec 0</dev/null; exec 2>&1; cd $env:APPVEYOR_BUILD_FOLDER; bash -x ./autogen.sh && ./configure LDFLAGS='-L/ssl -L/ssl/lib -L/ssl/lib/MinGW' CFLAGS=-I/ssl/include $env:EVENT_CONFIGURE_OPTIONS && make && make verify -j20"
} else {
md build
cd build
cmake .. $env:EVENT_CMAKE_OPTIONS
cmake --build .
+ $env:CTEST_PARALLEL_LEVEL="20"
ctest --output-on-failure
}