chore: separate lint in travis
This commit is contained in:
parent
4dab16448b
commit
c50954d5b8
@ -10,6 +10,7 @@ env:
|
|||||||
- DISPLAY=:99.0
|
- DISPLAY=:99.0
|
||||||
- CHROME_BIN=chromium-browser
|
- CHROME_BIN=chromium-browser
|
||||||
matrix:
|
matrix:
|
||||||
|
- SCRIPT="lint"
|
||||||
- SCRIPT="run-e2e-tests --fast"
|
- SCRIPT="run-e2e-tests --fast"
|
||||||
before_install:
|
before_install:
|
||||||
- npm install -g gulp --no-optional
|
- npm install -g gulp --no-optional
|
||||||
@ -22,4 +23,4 @@ install:
|
|||||||
- npm run webdriver:update --prefix public/docs/_examples/_protractor
|
- npm run webdriver:update --prefix public/docs/_examples/_protractor
|
||||||
- gulp add-example-boilerplate
|
- gulp add-example-boilerplate
|
||||||
script:
|
script:
|
||||||
- gulp lint && gulp $SCRIPT
|
- gulp $SCRIPT
|
||||||
|
@ -15,12 +15,12 @@ describe('Tutorial part 1', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it(`should have '${expectedH2}'`, () => {
|
it(`should have '${expectedH2}'`, () => {
|
||||||
var text = element(by.css('h2')).getText()
|
let text = element(by.css('h2')).getText();
|
||||||
expect(text).toEqual(expectedH2);
|
expect(text).toEqual(expectedH2);
|
||||||
});
|
});
|
||||||
|
|
||||||
it(`should have input name '${hero.name}'`, () => {
|
it(`should have input name '${hero.name}'`, () => {
|
||||||
var name = element(by.css('input')).getAttribute('value');
|
let name = element(by.css('input')).getAttribute('value');
|
||||||
expect(name).toEqual(hero.name);
|
expect(name).toEqual(hero.name);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user