Update travis script for swimm verify

This commit is contained in:
Shreya 2021-04-08 17:12:10 +05:30
parent 0f2ecc14cc
commit 2f8441f1d5
1 changed files with 4 additions and 5 deletions

View File

@ -80,11 +80,10 @@ script:
# verify swimm
- cd $TRAVIS_BUILD_DIR
- wget "https://github.com/swimmio/SwimmReleases/releases/download/v0.4.1-0/Swimm_0.4.1-0_Setup.deb" -O swimm
- sudo dpkg -i swimm || (sudo apt-get update && sudo apt-get -f install)
- chmod +x ./swimm
- swimm --version
- swimm verify
- curl -s https://api.github.com/repos/swimmio/SwimmReleases/releases/latest | grep 'browser_download_url.*swimm-cli' | cut -d '"' -f 4 | wget -O swimm_cli -qi -
- chmod +x swimm_cli
- node swimm_cli --version
- node swimm_cli verify
after_success:
# Upload code coverage results to codecov.io, see https://github.com/codecov/codecov-bash for more information