Skip to content

Commit 0f954a0

Browse files
devversionjelbourn
authored andcommitted
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.
1 parent 541a95e commit 0f954a0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- env: "MODE=saucelabs_required"
3131
- env: "MODE=browserstack_required"
3232
- env: "MODE=travis_required"
33-
env: "DEPLOY_MODE=build-artifacts"
33+
- env: "DEPLOY_MODE=build-artifacts"
3434
- env: "DEPLOY_MODE=docs-content"
3535
- env: "DEPLOY_MODE=screenshot-tool"
3636
- env: "DEPLOY_MODE=dashboard"

src/lib/input/input.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ describe('MatInput without forms', function () {
110110

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

@@ -120,10 +120,10 @@ describe('MatInput without forms', function () {
120120
}
121121
}));
122122

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

0 commit comments

Comments
 (0)