Skip to content

Commit d67946b

Browse files
committed
Update travis.yml for lint
1 parent a002b1a commit d67946b

1 file changed

Lines changed: 17 additions & 21 deletions

File tree

.travis.yml

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1+
---
12
language: node_js
23
node_js:
3-
- '6'
4+
- "6"
5+
46
notifications:
57
email: false
8+
9+
sudo: required
610
dist: trusty
7-
sudo: false
811

912
addons:
1013
chrome: stable
1114

15+
cache:
16+
yarn: true
17+
1218
env:
1319
global:
1420
# See https://git.io/vdao3 for details.
1521
- JOBS=1
1622

17-
cache:
18-
yarn: true
19-
directories:
20-
- $HOME/.npm
21-
- $HOME/.cache
22-
2323
before_install:
2424
- curl -o- -L https://yarnpkg.com/install.sh | bash
2525
- export PATH=$HOME/.yarn/bin:$PATH
@@ -28,23 +28,19 @@ before_install:
2828
- yarn --version
2929

3030
install:
31-
- yarn
32-
- bower install
33-
34-
before_script:
35-
- export DISPLAY=:99.0
36-
- sh -e /etc/init.d/xvfb start
37-
- sleep 3 # give xvfb some time to start
31+
- yarn install --non-interactive
32+
- bower install
3833

3934
script:
40-
- yarn test
35+
- yarn lint:js
36+
- yarn test
4137

4238
after_script:
43-
- scripts/travis-deploy.sh
39+
- scripts/travis-deploy.sh
4440

4541
env:
4642
global:
47-
- TORII_PROVIDER=github-oauth2
48-
- secure: Dwthqo6GaXQt7erj89xMa/2GRua9PTzcSKXYmxjE0O46DMuBR80JjPges0hGCWwPcdMFqsaMshSaTVF5eHc49vhaziB2sqWwLZndkRFIAsNGnBZkBpeZc9MsTNMbPP5KyJh/pG03nJLXUSz6xzMoxDNU/QHWyBYBxTlfxVGewLE=
49-
- secure: H3EtrTdcXIDOjp59Mu/7KA7N2UrVgKjt2YVtW6dqby/Oa5q/jpfnomE70fhIpFTle6MavhAIujQ5awMRC/80EJXlZp5hnSd9DKyCpk70I1KoT6vm34RjZfSP9kAyRyokLwfjEkovCFltY3/i8y+8QFEVr8RkNt1VP2hY1ScFzys=
50-
- secure: BM5IGMNaE+xS16wsReX6KjA4Zg9nKhWrPuc7AZAmgEevCiQT6mgSfyhyoPoRS/M5UVdngqCSHFljfUHigR9/C8lPOY7fS6RU4wyNnZlQJL6y3D3LMWvzw8u/Rc98rmoWqNA2XEmc4a95A8iRNATWQAd3qL0FxfNcv6ny99MOER4=
43+
- TORII_PROVIDER=github-oauth2
44+
- secure: Dwthqo6GaXQt7erj89xMa/2GRua9PTzcSKXYmxjE0O46DMuBR80JjPges0hGCWwPcdMFqsaMshSaTVF5eHc49vhaziB2sqWwLZndkRFIAsNGnBZkBpeZc9MsTNMbPP5KyJh/pG03nJLXUSz6xzMoxDNU/QHWyBYBxTlfxVGewLE=
45+
- secure: H3EtrTdcXIDOjp59Mu/7KA7N2UrVgKjt2YVtW6dqby/Oa5q/jpfnomE70fhIpFTle6MavhAIujQ5awMRC/80EJXlZp5hnSd9DKyCpk70I1KoT6vm34RjZfSP9kAyRyokLwfjEkovCFltY3/i8y+8QFEVr8RkNt1VP2hY1ScFzys=
46+
- secure: BM5IGMNaE+xS16wsReX6KjA4Zg9nKhWrPuc7AZAmgEevCiQT6mgSfyhyoPoRS/M5UVdngqCSHFljfUHigR9/C8lPOY7fS6RU4wyNnZlQJL6y3D3LMWvzw8u/Rc98rmoWqNA2XEmc4a95A8iRNATWQAd3qL0FxfNcv6ny99MOER4=

0 commit comments

Comments
 (0)