Skip to content

Commit cf5d9ae

Browse files
committed
Add report-card
Runs report-card in drone. Sets two env vars, used to pip install report-card and update GH status.
1 parent 830d886 commit cf5d9ae

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.drone.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
env:
2+
- REPORT_CARD_GITHUB_STATUS_TOKEN=$$report_card_github_status_token
3+
- REPORT_CARD_GITHUB_REPO_TOKEN=$$report_card_github_repo_token
14
image: python2.7
25
notify:
36
email:
@@ -9,5 +12,6 @@ notify:
912
on_success: false
1013
webhook_url: $$slack_webhook
1114
script:
15+
- sudo pip install -q git+https://[email protected]/Clever/report-card.git; GITHUB_API_TOKEN=$REPORT_CARD_GITHUB_STATUS_TOKEN report-card --publish || true
1216
- pip install -r test/requirements.txt
1317
- python setup.py develop && python setup.py test

0 commit comments

Comments
 (0)