Skip to content

Commit

Permalink
CI: docker: minor comment updates
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jan 6, 2021
1 parent b229a2c commit ddf32ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,16 @@ jobs:
apt:
packages:
before_install: &docker_before_install
# for counting clones, excluding ours
- |
# for counting clones, excluding ours
if [[ -n "$GITHUB_API_TOKEN" ]]; then
git clone https://$GITHUB_API_TOKEN@github.com/ccp-petmr-codebot/github-stats --branch $TRAVIS_REPO_SLUG
# update with last fortnight's clones from GitHub API
source github-stats/setup.sh
# count unique clones, excluding travis, and print total
gh_stats_count -k uniques
fi
# login required early to increase pull rate limits
if [[ "$TRAVIS_SECURE_ENV_VARS" == true ]]; then
echo "$DOCKER_PWD" | docker login -u $DOCKER_USR --password-stdin
fi
Expand Down

0 comments on commit ddf32ad

Please sign in to comment.