Use travis_wait because builds/linkers are slow

This commit is contained in:
Michael 2019-07-31 10:25:23 +01:00
parent 0515ad6bf9
commit dcc57deebf
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

View File

@ -93,11 +93,11 @@ before_install:
script:
- if [ "$TRAVIS_OS_NAME" == "windows" ]; then
cmd.exe /C '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64 && make test';
travis_wait cmd.exe /C '"C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" amd64 && make test';
elif [[ ! -z $DOCKER_FILE ]]; then
docker build -f $DOCKER_FILE .;
travis_wait docker build -f $DOCKER_FILE .;
else
make ${MAKE_TARGET:-test};
travis_wait make ${MAKE_TARGET:-test};
fi
after_script: