Skip to content

Commit a4687e4

Browse files
author
CM Lubinski
committed
Lint and build frontend in Travis.
This adds an ESLint step to the CI service so we prevent unlinted code from making its way in. It also runs the frontend build as a smoke test.
1 parent 75dea5c commit a4687e4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,19 @@ 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
24+
- gulp build
1625
notifications:
1726
slack:
1827
rooms:

0 commit comments

Comments
 (0)