move codecov script to checker

pull/3324/head
haodi 4 years ago committed by Leo Chen
parent 054d280463
commit 2272237738
  1. 1
      .travis.yml
  2. 2
      scripts/travis_checker.sh

@ -21,7 +21,6 @@ install:
script:
- ${TEST}
after_success:
- bash <(curl -s https://codecov.io/bash)
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL

@ -84,6 +84,8 @@ go test -race -coverprofile=coverage.txt -covermode=atomic ./...
if go test -v -count=1 ./...
then
bash <(curl -s https://codecov.io/bash)
echo "go test succeeded."
else
echo "go test FAILED!"

Loading…
Cancel
Save