summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2018-01-21 11:02:42 -0500
committerJeffrey Walton <noloader@gmail.com>2018-01-21 11:02:42 -0500
commit133b2411d40d2c3fd894635d712e78e6e1bcb97e (patch)
tree4f9cfa44e6f5cc6d81632c587864a0be2b25f307 /.travis.yml
parent105f78495c14e1fc0f6b4a49af750bee6040a204 (diff)
downloadcryptopp-git-133b2411d40d2c3fd894635d712e78e6e1bcb97e.tar.gz
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.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml44
1 files changed, 16 insertions, 28 deletions
diff --git a/.travis.yml b/.travis.yml
index 27c9121d..6b0f7563 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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
- 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
+ if [[ "$BUILD_MODE" == "ios" ]]; 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