From 0f954a09c02564be108112b935c88b2aa180c361 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Sat, 18 Nov 2017 16:15:10 +0100 Subject: [PATCH] build: fix travis required tests not running (#8437) * 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. --- .travis.yml | 2 +- src/lib/input/input.spec.ts | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index ccfabb5dd86..068c2197309 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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" diff --git a/src/lib/input/input.spec.ts b/src/lib/input/input.spec.ts index f1b84b2675a..033a9292b37 100644 --- a/src/lib/input/input.spec.ts +++ b/src/lib/input/input.spec.ts @@ -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(); @@ -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();