Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit c50954d

Browse files
committed
chore: separate lint in travis
1 parent 4dab164 commit c50954d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
- DISPLAY=:99.0
1111
- CHROME_BIN=chromium-browser
1212
matrix:
13+
- SCRIPT="lint"
1314
- SCRIPT="run-e2e-tests --fast"
1415
before_install:
1516
- npm install -g gulp --no-optional
@@ -22,4 +23,4 @@ install:
2223
- npm run webdriver:update --prefix public/docs/_examples/_protractor
2324
- gulp add-example-boilerplate
2425
script:
25-
- gulp lint && gulp $SCRIPT
26+
- gulp $SCRIPT

public/docs/_examples/toh-1/e2e-spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ describe('Tutorial part 1', () => {
1515
});
1616

1717
it(`should have '${expectedH2}'`, () => {
18-
var text = element(by.css('h2')).getText()
18+
let text = element(by.css('h2')).getText();
1919
expect(text).toEqual(expectedH2);
2020
});
2121

2222
it(`should have input name '${hero.name}'`, () => {
23-
var name = element(by.css('input')).getAttribute('value');
23+
let name = element(by.css('input')).getAttribute('value');
2424
expect(name).toEqual(hero.name);
2525
});
2626
});

0 commit comments

Comments
 (0)