Merge pull request #10456 from bitsf/stop_travis

feat(cicd):stop use travis
This commit is contained in:
Daniel Jiang 2020-01-18 02:59:41 +08:00 committed by GitHub
commit c4dd6c077e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -70,6 +70,8 @@ jobs:
env env
bash ./tests/showtime.sh ./tests/travis/ut_install.sh bash ./tests/showtime.sh ./tests/travis/ut_install.sh
- name: script - name: script
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: | run: |
echo IP: $IP echo IP: $IP
bash ./tests/showtime.sh ./tests/travis/ut_run.sh $IP bash ./tests/showtime.sh ./tests/travis/ut_run.sh $IP

View File

@ -17,4 +17,4 @@ docker ps
DIR="$(cd "$(dirname "$0")" && pwd)" DIR="$(cd "$(dirname "$0")" && pwd)"
go test -race -i ./src/core ./src/jobservice go test -race -i ./src/core ./src/jobservice
sudo -E env "PATH=$PATH" "POSTGRES_MIGRATION_SCRIPTS_PATH=$DIR/../../make/migrations/postgresql/" ./tests/coverage4gotest.sh sudo -E env "PATH=$PATH" "POSTGRES_MIGRATION_SCRIPTS_PATH=$DIR/../../make/migrations/postgresql/" ./tests/coverage4gotest.sh
goveralls -coverprofile=profile.cov -service=travis-ci || true goveralls -coverprofile=profile.cov -service=github || true