Skip to content

Commit 8508ae7

Browse files
modify travisCI
1 parent 14db3bc commit 8508ae7

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ dist: trusty
44
jdk: oraclejdk8
55
addons:
66
ssh_known_hosts:
7-
- 39.106.81.60:22008
8-
- 39.106.81.60:22008
9-
- 39.106.81.60:22008
7+
- 39.105.147.203:22008
8+
- 39.105.147.203:22008
9+
- 39.105.147.203:22008
1010
sonarcloud:
1111
organization: tron-zhaohong
1212
token:

dapp-chain/side-chain/deploy.sh

+3-4
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
if [[ "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "master" ]];then
33

44
stestlogname="`date +%Y%m%d%H%M%S`_stest.log"
5-
timeout 10 ping -c 5 39.106.81.60 > /dev/null || exit 1
5+
timeout 10 ping -c 5 39.105.147.203 > /dev/null || exit 1
66

7-
stest_server=39.106.81.60
7+
stest_server=39.105.147.203
88
docker_num_in_60=`ssh -p 22008 -t java-tron@$stest_server 'docker ps -a | wc -l'`
99
if [[ ${docker_num} -le 2 ]];
1010
then
@@ -29,8 +29,7 @@ if [[ "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "master" ]];then
2929
echo "stest end"
3030

3131
echo $?
32-
#ret=$(cat $stestlogname | grep "stest FAILED" | wc -l)
33-
ret=0
32+
ret=$(cat $stestlogname | grep "stest FAILED" | wc -l)
3433
if [ $ret != 0 ];then
3534
echo $ret
3635
rm -f $stestlogname

0 commit comments

Comments
 (0)