Update .travis.yml to use npm scripts

This commit is contained in:
Kyle Barron 2020-01-14 12:53:17 -05:00
parent e0430b3483
commit 521f01e358

View File

@ -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