From 5db5e6108ddc21206f746d9fe3636a73063414be Mon Sep 17 00:00:00 2001 From: Nathan Leiby Date: Fri, 25 Mar 2016 07:40:47 +0000 Subject: [PATCH] Add report-card Runs report-card in drone. Sets two env vars, used to pip install report-card and update GH status. --- .drone.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone.yml b/.drone.yml index 3102f3b..571c5ec 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: @@ -21,4 +24,5 @@ publish: when: branch: master script: +- sudo pip install -q git+https://$REPORT_CARD_GITHUB_REPO_TOKEN@github.com/Clever/report-card.git; GITHUB_API_TOKEN=$REPORT_CARD_GITHUB_STATUS_TOKEN report-card --publish || true - make test