Merge pull request #107 from lbryio/webpack-travis

Update .travis.yml to use Webpack
This commit is contained in:
alexliebowitz 2016-12-16 18:19:11 -05:00 committed by GitHub
commit 29574a2a3d

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