Skip to content

Commit f7c475a

Browse files
author
CM Lubinski
committed
Lint frontend in Travis.
This adds an ESLint step to the CI service so we prevent unlinted code from making its way in.
1 parent 75dea5c commit f7c475a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,18 @@ env:
99
cache:
1010
directories:
1111
- ~/.cache/pip
12+
- ~/.nvm/nvm.sh
1213
install:
1314
- pip install tox
15+
- curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
16+
- source ~/.nvm/nvm.sh
17+
- nvm install --lts
18+
- nvm use --lts
19+
- npm install
20+
- bower install
1421
script:
1522
- tox -e $TOX_ENV
23+
- gulp lint
1624
notifications:
1725
slack:
1826
rooms:

0 commit comments

Comments
 (0)