Skip to content

Commit

Permalink
Add report-card
Browse files Browse the repository at this point in the history
Runs report-card in drone.
Sets two env vars, used to pip install report-card and update GH status.
  • Loading branch information
nathanleiby committed Apr 5, 2016
1 parent 31493f4 commit 5db5e61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
env:
- REPORT_CARD_GITHUB_STATUS_TOKEN=$$report_card_github_status_token
- REPORT_CARD_GITHUB_REPO_TOKEN=$$report_card_github_repo_token
image: clever/drone-go:1.5
notify:
email:
Expand All @@ -21,4 +24,5 @@ publish:
when:
branch: master
script:
- sudo pip install -q git+https://[email protected]/Clever/report-card.git; GITHUB_API_TOKEN=$REPORT_CARD_GITHUB_STATUS_TOKEN report-card --publish || true
- make test

0 comments on commit 5db5e61

Please sign in to comment.