Browse Source

Update .travis.yml

master
probonopd 8 years ago
committed by GitHub
parent
commit
cc59cc81a9
  1. 2
      .travis.yml

2
.travis.yml

@ -16,7 +16,7 @@ before_install:
- cd -
- ID=$(wget -q https://api.travis-ci.org/repos/probonopd/appimagetool/builds -O - | head -n 1 | sed -e 's|}|\n|g' | grep '"result":0' | head -n 1 | sed -e 's|,|\n|g' | grep '"id"' | cut -d ":" -f 2)
- URL=$(wget -q "http://archive.travis-ci.org/jobs/$((ID+1))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g')
- if [ -z "$URL" ] ; then ; URL=$(wget -q "http://archive.travis-ci.org/jobs/$((ID+2))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g') ; fi
- if [ -z "$URL" ] ; then URL=$(wget -q "http://archive.travis-ci.org/jobs/$((ID+2))/log.txt" -O - | grep "https://transfer.sh/.*/appimagetool" | tail -n 1 | sed -e 's|\r||g') ; fi
- sudo wget -c "$URL" -O /usr/local/bin/appimagetool
- sudo chmod a+x /usr/local/bin/appimagetool

Loading…
Cancel
Save