Skip to content

Commit

Permalink
build: fix travis required tests not running (#8437)
Browse files Browse the repository at this point in the history
* build: fix travis required tests not running

* Fixes that the `travis_required` CI mode isn't running. This mode is important for Firefox and Chrome testing.
  • Loading branch information
devversion authored and jelbourn committed Nov 18, 2017
1 parent 541a95e commit 0f954a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- env: "MODE=saucelabs_required"
- env: "MODE=browserstack_required"
- env: "MODE=travis_required"
env: "DEPLOY_MODE=build-artifacts"
- env: "DEPLOY_MODE=build-artifacts"
- env: "DEPLOY_MODE=docs-content"
- env: "DEPLOY_MODE=screenshot-tool"
- env: "DEPLOY_MODE=dashboard"
Expand Down
8 changes: 4 additions & 4 deletions src/lib/input/input.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ describe('MatInput without forms', function () {

it('should not be treated as empty if type is date',
inject([Platform], (platform: Platform) => {
if (!(platform.TRIDENT || platform.FIREFOX || (platform.SAFARI && !platform.IOS))) {
if (!(platform.TRIDENT || (platform.SAFARI && !platform.IOS))) {
let fixture = TestBed.createComponent(MatInputDateTestController);
fixture.detectChanges();

Expand All @@ -120,10 +120,10 @@ describe('MatInput without forms', function () {
}
}));

// Firefox, Safari Desktop and IE don't support type="date" and fallback to type="text".
it('should be treated as empty if type is date on Firefox and IE',
// Safari Desktop and IE don't support type="date" and fallback to type="text".
it('should be treated as empty if type is date in Safari Desktop or IE',
inject([Platform], (platform: Platform) => {
if (platform.TRIDENT || platform.FIREFOX || (platform.SAFARI && !platform.IOS)) {
if (platform.TRIDENT || (platform.SAFARI && !platform.IOS)) {
let fixture = TestBed.createComponent(MatInputDateTestController);
fixture.detectChanges();

Expand Down

0 comments on commit 0f954a0

Please sign in to comment.