From 3751cb68b6c2cd108d274a15eaf97470b01702e0 Mon Sep 17 00:00:00 2001 From: "scott.wang" <scottwangsxll@gmail.com> Date: Tue, 19 May 2020 16:18:16 +0800 Subject: [PATCH] Sync latest travis config --- .travis.yml | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 37dea01a9..98ef1fd10 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,6 @@ install: true # define ci-stage script: - # travis env - echo ${TRAVIS_PULL_REQUEST} - echo ${TRAVIS_PULL_REQUEST_BRANCH} @@ -23,16 +22,6 @@ script: - echo ${TRAVIS_PULL_REQUEST_SHA} - echo ${TRAVIS_REPO_SLUG} # license-check - # start zookeeper registry insecure listen in [:]:2181 - - echo 'start integrate-test' - # start zookeeper registry insecure listen in [:]:2181 - - docker run -d --network host zookeeper - - ROOTDIR=$(pwd) - - cd ./test/integrate/dubbo/go-client && docker build . -t ci-consumer --build-arg PR_ORIGIN_REPO=${TRAVIS_PULL_REQUEST_SLUG} PR_ORIGIN_COMMITID=${TRAVIS_PULL_REQUEST_SHA} && cd $ROOTDIR - - cd ./test/integrate/dubbo/go-server && docker build . -t ci-provider --build-arg PR_ORIGIN_REPO=${TRAVIS_PULL_REQUEST_SLUG} PR_ORIGIN_COMMITID=${TRAVIS_PULL_REQUEST_SHA} && cd $ROOTDIR - - docker run -d --network host ci-provider - - docker run -it --network host ci-consumer - - exit 0 - echo 'start license check' - go fmt ./... && [[ -z `git status -s` ]] - sh before_validate_license.sh @@ -47,8 +36,8 @@ script: # start zookeeper registry insecure listen in [:]:2181 - docker run -d --network host zookeeper - ROOTDIR=$(pwd) - - cd ./test/integrate/dubbo/go-client && docker build . -t ci-consumer --build-arg COMMITID=${COMMITID} && cd $ROOTDIR - - cd ./test/integrate/dubbo/go-server && docker build . -t ci-provider --build-arg COMMITID=${COMMITID} && cd $ROOTDIR + - cd ./test/integrate/dubbo/go-client && docker build . -t ci-consumer --build-arg PR_ORIGIN_REPO=${TRAVIS_PULL_REQUEST_SLUG} PR_ORIGIN_COMMITID=${TRAVIS_PULL_REQUEST_SHA} && cd $ROOTDIR + - cd ./test/integrate/dubbo/go-server && docker build . -t ci-provider --build-arg PR_ORIGIN_REPO=${TRAVIS_PULL_REQUEST_SLUG} PR_ORIGIN_COMMITID=${TRAVIS_PULL_REQUEST_SHA} && cd $ROOTDIR - docker run -d --network host ci-provider - docker run -it --network host ci-consumer -- GitLab