Skip to content

Commit

Permalink
🐛 Fix: azure pipeline + coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
upupming committed Jun 8, 2019
1 parent d351648 commit beabcf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@ node_modules
yarn-error.log
package-lock.json
coverage
.coveralls.yml
7 changes: 7 additions & 0 deletions azure-pipelines.yml
Expand Up @@ -28,6 +28,13 @@ jobs:
env:
COVERALLS_SERVICE_NAME: $(COVERALLS_SERVICE_NAME)
COVERALLS_REPO_TOKEN: $(COVERALLS_REPO_TOKEN)
# https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables
COVERALLS_GIT_COMMIT: $(Build.SourceVersion)
# https://github.com/MicrosoftDocs/vsts-docs/issues/4259
# https://stackoverflow.com/questions/13210880/replace-one-substring-for-another-string-in-shell-script
COVERALLS_GIT_BRANCH: '${Build.SourceBranch/refs\/heads\//}'
COVERALLS_SERVICE_JOB_ID: $(Build.BuildId)
CI_PULL_REQUEST: $(System.PullRequest.PullRequestNumber)

- script: 'npm install -g vsce && vsce package'
displayName: 'Build artifact'
Expand Down

0 comments on commit beabcf0

Please sign in to comment.