Update .travis.yml to use Webpack

This commit is contained in:
Alex Liebowitz 2016-12-16 16:26:14 -05:00
parent 5dbadeb941
commit 500ea38792

View file

@ -7,8 +7,7 @@ install:
script: script:
- mkdir -p dist/css dist/js - mkdir -p dist/css dist/js
- node_modules/.bin/node-sass scss/all.scss dist/css/all.css - node_modules/.bin/node-sass scss/all.scss dist/css/all.css
- node_modules/.bin/babel -V - node_modules/.bin/webpack
- node_modules/.bin/babel --presets es2015,react --out-dir dist/js js
- mkdir upload - mkdir upload
- cd dist; zip -r ../upload/dist.zip *; cd - - cd dist; zip -r ../upload/dist.zip *; cd -
- .travis/echo_sha.sh > upload/data.json - .travis/echo_sha.sh > upload/data.json