Skip to content

Commit

Permalink
Merge pull request video-dev#1574 from azu/travis-build-stage
Browse files Browse the repository at this point in the history
fix(travis): introduce build stage
  • Loading branch information
mangui authored Feb 20, 2018
2 parents b072eb2 + cbc1b93 commit 2ca1b8a
Showing 1 changed file with 32 additions and 13 deletions.
45 changes: 32 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,38 @@ after_success: npm run coverage
env:
global:
- SAUCE_USERNAME=mangui
matrix:
- TRAVIS_MODE=build
- TRAVIS_MODE=unitTests
- TRAVIS_MODE=funcTests UA=chrome OS="Windows 10"
- TRAVIS_MODE=funcTests UA=firefox OS="Windows 10"
- TRAVIS_MODE=funcTests UA=chrome OS="Windows 7"
- TRAVIS_MODE=funcTests UA=firefox OS="Windows 7"
# - TRAVIS_MODE=funcTests UA=MicrosoftEdge OS="Windows 10"
- TRAVIS_MODE=funcTests UA="internet explorer" OS="Windows 8.1" UA_VERSION="11.0"
- TRAVIS_MODE=funcTests UA="internet explorer" OS="Windows 10"
- TRAVIS_MODE=funcTests UA=chrome OS="OS X 10.11"
# - TRAVIS_MODE=funcTests UA=firefox OS="OS X 10.11"
- TRAVIS_MODE=funcTests UA=safari OS="OS X 10.11" UA_VERSION="9.0"
jobs:
# stage: optional is allowed to be failure
fast_finish: true
allow_failures:
- stage: optional
include:
# Required tests
- stage: required
env: TRAVIS_MODE=build
- stage: required
env: TRAVIS_MODE=unitTests
- stage: required
env: TRAVIS_MODE=funcTests UA=chrome OS="Windows 10"
# Optional Func tests
- stage: optional
env: TRAVIS_MODE=funcTests UA=firefox OS="Windows 10"
- stage: optional
env: TRAVIS_MODE=funcTests UA=chrome OS="Windows 7"
- stage: optional
env: TRAVIS_MODE=funcTests UA=firefox OS="Windows 7"
# - stage: optional
# env: TRAVIS_MODE=funcTests UA=MicrosoftEdge OS="Windows 10"
- stage: optional
env: TRAVIS_MODE=funcTests UA="internet explorer" OS="Windows 8.1" UA_VERSION="11.0"
- stage: optional
env: TRAVIS_MODE=funcTests UA="internet explorer" OS="Windows 10"
- stage: optional
env: TRAVIS_MODE=funcTests UA=chrome OS="OS X 10.11"
# - stage: optional
# env: TRAVIS_MODE=funcTests UA=firefox OS="OS X 10.11"
- stage: optional
env: TRAVIS_MODE=funcTests UA=safari OS="OS X 10.11" UA_VERSION="9.0"

addons:
sauce_connect: true
Expand Down

0 comments on commit 2ca1b8a

Please sign in to comment.