-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: update travis config for saucelabs (#647)
- Loading branch information
1 parent
8d8cb0a
commit c15c454
Showing
1 changed file
with
56 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,67 @@ | ||
language: node_js | ||
node_js: | ||
- '8' | ||
aliases: | ||
- &sauce-labs | ||
before_script: | ||
- python -m SimpleHTTPServer & | ||
- sleep 5 | ||
addons: | ||
sauce_connect: true | ||
script: yarn run functional-tests-ci | ||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: always | ||
on_failure: always | ||
cache: yarn | ||
- &sauce-labs-mobile | ||
<<: *sauce-labs | ||
script: yarn run functional-tests-ci --grep @mobile | ||
stages: | ||
- ci | ||
- name: sauce-labs | ||
- name: sauce-labs - windows 10 | ||
if: type = cron | ||
- name: sauce-labs - osx | ||
if: type = cron | ||
- name: sauce-labs - mobile | ||
if: type = cron | ||
jobs: | ||
include: | ||
- stage: ci | ||
script: yarn run ci | ||
cache: yarn | ||
- stage: sauce-labs | ||
addons: | ||
sauce_connect: true | ||
before_script: | ||
- python -m SimpleHTTPServer & | ||
- sleep 5 | ||
script: yarn run functional-tests-ci | ||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
on_success: never | ||
on_failure: always | ||
cache: yarn | ||
- <<: *sauce-labs | ||
stage: sauce-labs - windows 10 | ||
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="MicrosoftEdge" | ||
- <<: *sauce-labs | ||
stage: sauce-labs - windows 10 | ||
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="chrome" | ||
- <<: *sauce-labs | ||
stage: sauce-labs - windows 10 | ||
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="firefox" | ||
- <<: *sauce-labs | ||
stage: sauce-labs - windows 10 | ||
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="internet explorer" | ||
- <<: *sauce-labs | ||
stage: sauce-labs - osx | ||
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="safari" | ||
- <<: *sauce-labs | ||
stage: sauce-labs - osx | ||
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="chrome" | ||
- <<: *sauce-labs | ||
stage: sauce-labs - osx | ||
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="firefox" | ||
- <<: *sauce-labs-mobile | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="iOS" DEVICE_NAME="iPhone X Simulator" PLATFORM_VERSION="11.2" BROWSER_NAME="Safari" | ||
- <<: *sauce-labs-mobile | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="iOS" DEVICE_NAME="iPhone 6 Simulator" PLATFORM_VERSION="11.2" BROWSER_NAME="Safari" | ||
- <<: *sauce-labs-mobile | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="iOS" DEVICE_NAME="iPad Simulator" PLATFORM_VERSION="11.2" BROWSER_NAME="Safari" | ||
- <<: *sauce-labs-mobile | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="Android" DEVICE_NAME="Android Emulator" PLATFORM_VERSION="6.0" BROWSER_NAME="Chrome" |