mirror of
https://github.com/hibiken/asynq.git
synced 2025-04-22 08:40:22 +08:00
9 lines
375 B
Bash
9 lines
375 B
Bash
if [ "${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH}" != "master" ]; then
|
|
REMOTE_URL="$(git config --get remote.origin.url)";
|
|
cd ${TRAVIS_BUILD_DIR}/.. && \
|
|
git clone ${REMOTE_URL} "${TRAVIS_REPO_SLUG}-goreportcard" && \
|
|
cd "${TRAVIS_REPO_SLUG}-goreportcard" && \
|
|
go get -u github.com/gojp/goreportcard/cmd/goreportcard-cli && \
|
|
goreportcard-cli -v
|
|
fi
|