Skip to content

Commit

Permalink
Merge pull request #122 from MCS-Lite/feature/modify-travis-yml
Browse files Browse the repository at this point in the history
Modify the yml file of travis CI.
  • Loading branch information
dariachen authored May 10, 2017
2 parents 37b579d + 338f481 commit 4cbb000
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,16 @@ node_js:
- '6'

script:
- cd client
- npm install
- npm run build:global
- cd ..
- npm install
- npm run build:global
- cd ./out/mcs-lite-app
- find . -type d -maxdepth 1 -mindepth 1 -exec tar zcf {}.tar.gz {} \;
- find . -type d -name "osx*" -maxdepth 1 -mindepth 1 -exec tar zcf {}.tar.gz {} \;
- find . -type d -name "linux*" -maxdepth 1 -mindepth 1 -exec tar zcf {}.tar.gz {} \;
- find . -type d -name "win*" -maxdepth 1 -mindepth 1 -exec zip -r {}.zip {} \;
- cd ../..

cache:
Expand Down

0 comments on commit 4cbb000

Please sign in to comment.