From a162bd90764e7b3c6a5f8b2f394e7ff71ba166d5 Mon Sep 17 00:00:00 2001 From: Jesse MacFadyen Date: Tue, 9 Apr 2019 10:49:41 -0700 Subject: [PATCH] Fix failing CI tests (#460) * bump node version to 6 * use default travis osx_image of xcode9.4 * comment out flakey local test --- .travis.yml | 121 ++++++++++++++++++++++------------------------------ 1 file changed, 52 insertions(+), 69 deletions(-) diff --git a/.travis.yml b/.travis.yml index cfe39b75a..3b83eac68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,78 +6,61 @@ addons: env: global: - - SAUCE_USERNAME=snay - - TRAVIS_NODE_VERSION="4.2" + - SAUCE_USERNAME=snay + - 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: include: - - env: PLATFORM=browser-chrome - os: linux - language: node_js - node_js: '4.2' - - env: PLATFORM=browser-firefox - os: linux - language: node_js - node_js: '4.2' - - env: PLATFORM=browser-safari - os: linux - language: node_js - node_js: '4.2' - - env: PLATFORM=browser-edge - os: linux - language: node_js - node_js: '4.2' -# iOS 9 not supported by iOS WKWebView implementation -# - env: PLATFORM=ios-9.3 -# os: osx -# osx_image: xcode8.3 -# language: node_js -# node_js: '4.2' - - env: PLATFORM=ios-10.0 - os: osx - osx_image: xcode8.3 - language: node_js - node_js: '4.2' - - env: PLATFORM=android-4.4 - os: linux - language: 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 + # # one local test, without saucelabs + # - env: PLATFORM=local + # os: osx + # osx_image: xcode9 + + # many tests with saucelabs + + - env: PLATFORM=browser-chrome + - env: PLATFORM=browser-firefox + - env: PLATFORM=browser-safari + - env: PLATFORM=browser-edge + + - env: PLATFORM=ios-10.0 + os: osx + osx_image: xcode9 + + - env: PLATFORM=android-4.4 + <<: *_android + - env: PLATFORM=android-5.1 + <<: *_android + - env: PLATFORM=android-6.0 + <<: *_android + - env: PLATFORM=android-7.0 + <<: *_android + - env: PLATFORM=android-7.1 + <<: *_android + - env: PLATFORM=android-8.0 + <<: *_android + - env: PLATFORM=android-8.1 + <<: *_android before_install: - rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm