Update .travis.yml to use npm scripts

pull/74/head
Kyle Barron 4 years ago
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…
Cancel
Save