Skip to content

Commit

Permalink
Fix: travis.yml config
Browse files Browse the repository at this point in the history
  • Loading branch information
pramodsum committed Aug 15, 2018
1 parent bb58296 commit 973fb1a
Showing 1 changed file with 42 additions and 2 deletions.
44 changes: 42 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,45 @@
# @desktop @mobile @enabled
language: node_js
node_js:
- "8"
script: yarn run ci
- '8'
cache: yarn
notifications:
email:
recipients:
- preview-alerts@box.com
aliases:
- &sauce-labs
if: type = cron
before_script:
- yarn run setup-travis &
- sleep 5
addons:
sauce_connect: true
script: travis_retry yarn run functional-tests-ci
- &sauce-labs-doc-desktop
<<: *sauce-labs-desktop
script: travis_retry yarn run functional-tests-ci --grep (@desktop)(@doc)
- &sauce-labs-image-desktop
<<: *sauce-labs-desktop
script: travis_retry yarn run functional-tests-ci --grep (@desktop)(@image)
- &sauce-labs-ie
<<: *sauce-labs
script: travis_retry yarn run functional-tests-ci --grep @ie
jobs:
include:
- script: yarn run ci
# Mac Chrome
- <<: *sauce-labs-doc-desktop
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="chrome" FILE_ID="285567874839" FILE_VERSION_ID="300496591287"
# Mac Safari
- <<: *sauce-labs-doc-desktop
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="safari" FILE_ID="285569765346" FILE_VERSION_ID="300498497346"
# Mac Firefox
- <<: *sauce-labs-doc-desktop
env: BROWSER_PLATFORM="macOS 10.13" BROWSER_NAME="firefox" FILE_ID="285568802145" FILE_VERSION_ID="300497533713"
# Windows Edge
- <<: *sauce-labs-doc-desktop
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="MicrosoftEdge" FILE_ID="285567976309" FILE_VERSION_ID="300496707445"
# Windows IE
- <<: *sauce-labs-ie
env: BROWSER_PLATFORM="Windows 10" BROWSER_NAME="internet explorer" FILE_ID="285568624824" FILE_VERSION_ID="300497342136"

0 comments on commit 973fb1a

Please sign in to comment.