Merge pull request #744 from michael-loki/travis_wait

Use travis_wait because builds/linkers are slow
This commit is contained in:
Jeff 2019-08-01 10:29:50 -04:00 committed by GitHub
commit b5db869baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,11 @@ matrix:
env: BUILD_TYPE=Debug
- os: windows
env: BUILD_TYPE=Release
allow_failures:
- os: linux
dist: xenial
env: DOCKER_FILE=docker/alpine-windows.Dockerfile
services: docker
env:
global:
@ -93,11 +98,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: