diff --git a/.travis.yml b/.travis.yml index ec0dba0..db815b8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,13 +13,5 @@ before_script: - export NODE_ENV=prod - npm install -g karma - npm install -g typescript -- npm install -- npm run build - -after_success: -- tar -czf package.tgz build -- export SSHPASS=$DEPLOY_PASS -- sshpass -e scp -v -o stricthostkeychecking=no package.tgz $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH -- sshpass -e scp -v -o stricthostkeychecking=no deploy.sh $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_PATH -- sshpass -e ssh $DEPLOY_USER@$DEPLOY_HOST chmod +777 $DEPLOY_PATH/deploy.sh -- sshpass -e ssh $DEPLOY_USER@$DEPLOY_HOST $DEPLOY_PATH/deploy.sh \ No newline at end of file +- npm install +- npm run build \ No newline at end of file