Skip to content

Commit

Permalink
Travis: Use swimm version 0.5.0, and not "latest" from GitHub API
Browse files Browse the repository at this point in the history
GitHub only allows so many API calls per hour. If this is exceeded, the
travis ci build will fail.
  • Loading branch information
mssalvatore committed Jul 15, 2021
1 parent 23c298a commit b1fe850
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ script:

# verify swimm
- cd $TRAVIS_BUILD_DIR
- 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
- curl -L https://github.com/swimmio/SwimmReleases/releases/download/v0.5.0-0/swimm-cli.js --output swimm_cli
- node swimm_cli --version
- node swimm_cli verify

Expand Down

0 comments on commit b1fe850

Please sign in to comment.