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