Fix failing CI tests (#460)

* bump node version to 6
* use default travis osx_image of xcode9.4
* comment out flakey local test
This commit is contained in:
Jesse MacFadyen 2019-04-09 10:49:41 -07:00 committed by GitHub
parent af44235a61
commit a162bd9076
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,78 +6,61 @@ addons:
env: env:
global: global:
- SAUCE_USERNAME=snay - SAUCE_USERNAME=snay
- TRAVIS_NODE_VERSION="4.2" - TRAVIS_NODE_VERSION=6
- ANDROID_API_LEVEL=28
- ANDROID_BUILD_TOOLS_VERSION=28.0.3
language: node_js
node_js: 6
# anchor/alias: https://medium.com/@tommyvn/travis-yml-dry-with-anchors-8b6a3ac1b027
_android: &_android
language: android
os: linux
jdk: oraclejdk8
android:
components:
- tools
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
licenses:
- 'android-sdk-preview-license-.+'
- 'android-sdk-license-.+'
- 'google-gdk-license-.+'
matrix: matrix:
include: include:
- env: PLATFORM=browser-chrome # # one local test, without saucelabs
os: linux # - env: PLATFORM=local
language: node_js # os: osx
node_js: '4.2' # osx_image: xcode9
- env: PLATFORM=browser-firefox
os: linux # many tests with saucelabs
language: node_js
node_js: '4.2' - env: PLATFORM=browser-chrome
- env: PLATFORM=browser-safari - env: PLATFORM=browser-firefox
os: linux - env: PLATFORM=browser-safari
language: node_js - env: PLATFORM=browser-edge
node_js: '4.2'
- env: PLATFORM=browser-edge - env: PLATFORM=ios-10.0
os: linux os: osx
language: node_js osx_image: xcode9
node_js: '4.2'
# iOS 9 not supported by iOS WKWebView implementation - env: PLATFORM=android-4.4
# - env: PLATFORM=ios-9.3 <<: *_android
# os: osx - env: PLATFORM=android-5.1
# osx_image: xcode8.3 <<: *_android
# language: node_js - env: PLATFORM=android-6.0
# node_js: '4.2' <<: *_android
- env: PLATFORM=ios-10.0 - env: PLATFORM=android-7.0
os: osx <<: *_android
osx_image: xcode8.3 - env: PLATFORM=android-7.1
language: node_js <<: *_android
node_js: '4.2' - env: PLATFORM=android-8.0
- env: PLATFORM=android-4.4 <<: *_android
os: linux - env: PLATFORM=android-8.1
language: android <<: *_android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.2
- env: PLATFORM=android-5.1
os: linux
language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.2
- env: PLATFORM=android-6.0
os: linux
language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.2
- env: PLATFORM=android-7.0
os: linux
language: android
jdk: oraclejdk8
android:
components:
- tools
- platform-tools
- tools
- build-tools-26.0.2
before_install: before_install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm