Disable Travis OS X and iOS testing (GH #570)

Travis is having infrastructure problems since it migrated in November 2017. Our OS X and iOS tests hang for days. When the current job hangs, new jobs that enter the queue later hang too because the original job is still waiting.

The subsequent hangs effect Android and Linux, too. Our Travis scripts test Android, Linux, OS X and iOS. A hang effects everything.

We are going to disable Travis OS X and iOS tests until things improve.
pull/574/head
Jeffrey Walton 2018-01-21 11:02:42 -05:00
parent 105f78495c
commit 133b2411d4
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
2 changed files with 22 additions and 29 deletions

View File

@ -51,15 +51,9 @@ matrix:
- os: osx
compiler: clang
env: BUILD_MODE="ubsan"
# No iOS builds on Linux
- os: linux
env: BUILD_MODE="ios-arm"
- os: linux
env: BUILD_MODE="ios-arm64"
- os: linux
env: BUILD_MODE="ios-watch"
- os: linux
env: BUILD_MODE="ios-tv"
# Travis infrastructure problems, Issue 570
# Re-enable when OS X and iOS improves
- os: osx
include:
- os: linux
@ -94,11 +88,18 @@ matrix:
env:
- BUILD_MODE=android
- PLATFORM=x86_64
allow_failures:
- os: osx
env: BUILD_MODE="ios-watch"
env:
- BUILD_MODE=ios
- PLATFORM=iPhoneOS
- os: osx
env:
- BUILD_MODE=ios
- PLATFORM=WatchOS
- os: osx
env:
- BUILD_MODE=ios
- PLATFORM=AppleTVOS
before_install:
- |
@ -108,22 +109,9 @@ before_install:
script:
- |
if [[ "$BUILD_MODE" == "ios-arm" ]]; then
if [[ "$BUILD_MODE" == "ios" ]]; then
cp ./TestScripts/setenv-ios.sh .
. ./setenv-ios.sh arm
make -f GNUmakefile-cross -j "$BUILD_JOBS"
elif [[ "$BUILD_MODE" == "ios-arm64" ]]; then
cp ./TestScripts/setenv-ios.sh .
. ./setenv-ios.sh arm64 -j "$BUILD_JOBS"
make -f GNUmakefile-cross
elif [[ "$BUILD_MODE" == "ios-watch" ]]; then
cp ./TestScripts/setenv-ios.sh .
. ./setenv-ios.sh watch
make -f GNUmakefile-cross -j "$BUILD_JOBS"
elif [[ "$BUILD_MODE" == "ios-tv" ]]; then
cp ./TestScripts/setenv-ios.sh .
. ./setenv-ios.sh tv
make -f GNUmakefile-cross -j "$BUILD_JOBS"
TestScripts/cryptest-ios.sh
elif [[ "$BUILD_MODE" == "android" ]]; then
cp ./TestScripts/setenv-android.sh .
TestScripts/cryptest-android.sh

View File

@ -10,7 +10,12 @@
# See http://www.cryptopp.com/wiki/iOS_(Command_Line) for more details
# ====================================================================
PLATFORMS=(iPhoneOS iPhoneSimulator WatchOS WatchSimulator AppleTVOS AppleTVSimulator)
if [ -z "${PLATFORM-}" ]; then
PLATFORMS=(iPhoneOS iPhoneSimulator WatchOS WatchSimulator AppleTVOS AppleTVSimulator)
else
PLATFORMS=(${PLATFORM})
fi
for platform in ${PLATFORMS[@]}
do
make -f GNUmakefile-cross distclean > /dev/null 2>&1