diff --git a/.travis.yml b/.travis.yml index 1fa6bd09490..51983d7fee9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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