Skip to content

Commit

Permalink
deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
pangpangfeng committed Sep 6, 2018
1 parent 0144bc3 commit f77fb96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ cache:
- '$HOME/.sonar/cache'
script:
- sh tron.sh
- sh deploy.sh
- "./gradlew build"

skip_build:
- README.md:
- LICENSE
deploy:
provider: script
script: bash deploy.sh
on:
branch: develop



Expand Down
11 changes: 8 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
#!/bin/bash
#ssh tron@47.93.9.236 -p 22008 sh /home/tron/workspace/deploy_all.sh
#./gradlew stest
!/bin/bash

if [[ $TRAVIS_BRANCH == 'develop' ]]
ssh tron@47.93.9.236 -p 22008 sh /home/tron/workspace/deploy_all.sh
./gradlew stest
else
#show me the money
fi

0 comments on commit f77fb96

Please sign in to comment.