From 2f8441f1d58f2e187eb01321db4179bcbf798c5f Mon Sep 17 00:00:00 2001 From: Shreya Date: Thu, 8 Apr 2021 17:12:10 +0530 Subject: [PATCH] Update travis script for swimm verify --- .travis.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 80b17df46..792c3b567 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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