Skip to content

Commit

Permalink
chore(Compliance): copy report file and commit to repo
Browse files Browse the repository at this point in the history
  • Loading branch information
lemoustachiste committed May 24, 2023
1 parent 927c5a0 commit bc268ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ after_success:
- semantic-release publish
after_script:
- nvm install 16
- node -v
- which node
- npm -v
- which npm
- which python3
- sh prepare-vc-compliance-tests-config.sh
- python3 setup.py install
- npm ci
- npm run test:vc-compliance
# - 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then sh publish-vc-compliance-result.sh; fi' # if no changes (aka npm release), no commit then no PR
- sh publish-vc-compliance-result.sh
5 changes: 5 additions & 0 deletions publish-vc-compliance-result.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
cp node_modules/vc-test-suite/implementations/index.html ./vc-compliance-report.html
git status
git add ./vc-compliance-report.html
git commit -m "chore(Compliance): update compliance report"
git push origin $TRAVIS_BRANCH

0 comments on commit bc268ca

Please sign in to comment.