-
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: build tweaks to remove stages to speed up cron (#766)
- Loading branch information
1 parent
df8fd4f
commit 5de7093
Showing
1 changed file
with
11 additions
and
31 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 |
---|---|---|
|
@@ -2,75 +2,55 @@ | |
language: node_js | ||
node_js: | ||
- '8' | ||
cache: yarn | ||
notifications: | ||
email: | ||
recipients: | ||
- [email protected] | ||
aliases: | ||
- &sauce-labs | ||
if: type = cron | ||
before_script: | ||
- python -m SimpleHTTPServer & | ||
- sleep 5 | ||
addons: | ||
sauce_connect: true | ||
script: yarn run functional-tests-ci | ||
cache: yarn | ||
script: travis_retry yarn run functional-tests-ci | ||
- &sauce-labs-ios | ||
<<: *sauce-labs | ||
script: yarn run functional-tests-ci --grep @mobile | ||
script: travis_retry yarn run functional-tests-ci --grep @mobile | ||
- &sauce-labs-chrome | ||
<<: *sauce-labs | ||
script: yarn run functional-tests-ci --grep @chrome | ||
script: travis_retry yarn run functional-tests-ci --grep @chrome | ||
- &sauce-labs-firefox | ||
<<: *sauce-labs | ||
script: yarn run functional-tests-ci --grep @firefox | ||
stages: | ||
- ci | ||
- name: sauce-labs - windows 10 | ||
if: type = cron | ||
- name: sauce-labs - osx | ||
if: type = cron | ||
- name: sauce-labs - mobile | ||
if: type = cron | ||
script: travis_retry yarn run functional-tests-ci --grep @firefox | ||
jobs: | ||
include: | ||
- stage: ci | ||
script: yarn run ci | ||
cache: yarn | ||
- script: yarn run ci | ||
- <<: *sauce-labs | ||
stage: sauce-labs - windows 10 | ||
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="MicrosoftEdge" | ||
script: yarn run functional-tests-ci --grep @edge | ||
script: travis_retry yarn run functional-tests-ci --grep @edge | ||
- <<: *sauce-labs-chrome | ||
stage: sauce-labs - windows 10 | ||
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="chrome" | ||
- <<: *sauce-labs-firefox | ||
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" | ||
script: yarn run functional-tests-ci --grep @ie | ||
script: travis_retry yarn run functional-tests-ci --grep @ie | ||
- <<: *sauce-labs | ||
stage: sauce-labs - osx | ||
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="safari" | ||
script: yarn run functional-tests-ci --grep @safari | ||
script: travis_retry yarn run functional-tests-ci --grep @safari | ||
- <<: *sauce-labs-chrome | ||
stage: sauce-labs - osx | ||
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="chrome" | ||
- <<: *sauce-labs-firefox | ||
stage: sauce-labs - osx | ||
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="firefox" | ||
- <<: *sauce-labs-ios | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="iOS" DEVICE_NAME="iPhone X Simulator" PLATFORM_VERSION="11.2" BROWSER_NAME="Safari" | ||
- <<: *sauce-labs-ios | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="iOS" DEVICE_NAME="iPhone 6 Simulator" PLATFORM_VERSION="11.2" BROWSER_NAME="Safari" | ||
- <<: *sauce-labs-ios | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="iOS" DEVICE_NAME="iPad Simulator" PLATFORM_VERSION="11.2" BROWSER_NAME="Safari" | ||
- <<: *sauce-labs | ||
stage: sauce-labs - mobile | ||
env: BROWSER_PLATFORM="Android" DEVICE_NAME="Android GoogleAPI Emulator" PLATFORM_VERSION="7.1" BROWSER_NAME="Chrome" | ||
script: yarn run functional-tests-ci --grep @android | ||
script: travis_retry yarn run functional-tests-ci --grep @android |