Skip to content

Commit

Permalink
Attempt to fix tar download from github in travis-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierstoval committed Feb 12, 2019
1 parent f8f9739 commit 335251f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ env:

before_install:
- composer self-update
- export TAR_URL=$(curl -L https://api.github.com/repos/ImageMagick/$IM_VERSION/tags | jq "[.[] | .tarball_url] | .[0]" | tr -d '"')
- curl -L $TAR_URL | tar xz
- export TAR_URL=$(curl -L "https://api.github.com/repos/ImageMagick/${IM_VERSION}/tags" | jq "[.[] | .tarball_url] | .[1]" | tr -d '"')
- curl -L "${TAR_URL}" | tar xz
- cd ImageMagick-$IM_VERSION*
- ./configure
- make
Expand Down

0 comments on commit 335251f

Please sign in to comment.