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: 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…
Cancel
Save