travis: avoid timeout without saving caches, also enable all qt

This commit is contained in:
Chun Kuan Lee 2018-08-30 01:44:21 +08:00
parent cb25cd6aa1
commit 3387bb0829

View file

@ -34,7 +34,7 @@ install:
before_script: before_script:
- set -o errexit; source .travis/test_05_before_script.sh - set -o errexit; source .travis/test_05_before_script.sh
script: script:
- set -o errexit; source .travis/test_06_script.sh - if [ $SECONDS -gt 1200 ]; then set +o errexit; echo "Travis early exit to cache current state"; false; else set -o errexit; source .travis/test_06_script.sh; fi
after_script: after_script:
- echo $TRAVIS_COMMIT_RANGE - echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG - echo $TRAVIS_COMMIT_LOG
@ -57,8 +57,7 @@ jobs:
- stage: test - stage: test
env: >- env: >-
HOST=arm-linux-gnueabihf HOST=arm-linux-gnueabihf
PACKAGES="g++-arm-linux-gnueabihf" PACKAGES="python3 g++-arm-linux-gnueabihf"
DEP_OPTS="NO_QT=1"
RUN_UNIT_TESTS=false RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false RUN_FUNCTIONAL_TESTS=false
GOAL="install" GOAL="install"
@ -70,24 +69,21 @@ jobs:
env: >- env: >-
HOST=i686-w64-mingw32 HOST=i686-w64-mingw32
DPKG_ADD_ARCH="i386" DPKG_ADD_ARCH="i386"
DEP_OPTS="NO_QT=1"
PACKAGES="python3 nsis g++-mingw-w64-i686 wine-binfmt wine32" PACKAGES="python3 nsis g++-mingw-w64-i686 wine-binfmt wine32"
GOAL="install" GOAL="deploy"
BITCOIN_CONFIG="--enable-reduce-exports" BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests"
# Win64 # Win64
- stage: test - stage: test
env: >- env: >-
HOST=x86_64-w64-mingw32 HOST=x86_64-w64-mingw32
DEP_OPTS="NO_QT=1"
PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64" PACKAGES="python3 nsis g++-mingw-w64-x86-64 wine-binfmt wine64"
GOAL="install" GOAL="deploy"
BITCOIN_CONFIG="--enable-reduce-exports" BITCOIN_CONFIG="--enable-reduce-exports --disable-gui-tests"
# 32-bit + dash # 32-bit + dash
- stage: test - stage: test
env: >- env: >-
HOST=i686-pc-linux-gnu HOST=i686-pc-linux-gnu
PACKAGES="g++-multilib python3-zmq" PACKAGES="g++-multilib python3-zmq"
DEP_OPTS="NO_QT=1"
GOAL="install" GOAL="install"
BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++" BITCOIN_CONFIG="--enable-zmq --enable-glibc-back-compat --enable-reduce-exports LDFLAGS=-static-libstdc++"
CONFIG_SHELL="/bin/dash" CONFIG_SHELL="/bin/dash"
@ -133,5 +129,5 @@ jobs:
OSX_SDK=10.11 OSX_SDK=10.11
RUN_UNIT_TESTS=false RUN_UNIT_TESTS=false
RUN_FUNCTIONAL_TESTS=false RUN_FUNCTIONAL_TESTS=false
GOAL="all deploy" GOAL="deploy"
BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror" BITCOIN_CONFIG="--enable-gui --enable-reduce-exports --enable-werror"