Update .travis.yml to use npm scripts
This commit is contained in:
parent
e0430b3483
commit
521f01e358
@ -6,6 +6,6 @@ branches:
|
||||
only:
|
||||
- gh-pages
|
||||
script:
|
||||
- npm install -g @mapbox/mapbox-gl-style-spec
|
||||
- gl-style-validate style.json
|
||||
- diff <(gl-style-format style.json) style.json
|
||||
- npm install
|
||||
- npm run validate
|
||||
- npm run diff
|
||||
|
Loading…
x
Reference in New Issue
Block a user