Skip to content

Commit

Permalink
Merge pull request unoconv#314 from pquentin/fix-travis-downloads
Browse files Browse the repository at this point in the history
Fix travis downloads
  • Loading branch information
dagwieers committed Jan 19, 2016
2 parents 46a0842 + bc35741 commit b22bffa
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ env:
- VERSION=4.1.6.1
- VERSION=4.2.8.2
- VERSION=4.3.7.2
- VERSION=4.4.5
- VERSION=5.0.1
- VERSION=4.4.7.2
- VERSION=5.0.4.2
- VERSION=5.1.0.2

matrix:
allow_failures:
Expand Down
5 changes: 1 addition & 4 deletions ci/linux.bash
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ elif [[ "$VERSION" =~ ^3.[4-5].* ]]; then
elif [[ "$VERSION" =~ ^3.* ]]; then
urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION/deb/x86_64
filename=LibO_${VERSION}_Linux_x86-64_install-deb_en-US
elif [[ "$VERSION" =~ ^4.[0-3].* ]]; then
urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION/deb/x86_64
filename=LibreOffice_${VERSION}_Linux_x86-64_deb
else
urldir=http://download.documentfoundation.org/libreoffice/stable/$VERSION/deb/x86_64/
urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION/deb/x86_64
filename=LibreOffice_${VERSION}_Linux_x86-64_deb
fi

Expand Down
4 changes: 1 addition & 3 deletions ci/osx.bash
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,10 @@ if [[ "$VERSION" =~ ^3.6.* ]]; then
elif [[ "$VERSION" =~ ^4.[0-1].* ]]; then
urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION/mac/x86
filename=LibreOffice_${VERSION}_MacOS_x86.dmg
elif [[ "$VERSION" =~ ^4.[2-3].* ]]; then
else
urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION/mac/x86_64
filename=LibreOffice_${VERSION}_MacOS_x86-64.dmg
else
urldir=https://download.documentfoundation.org/libreoffice/stable/$VERSION/mac/x86_64
filename=LibreOffice_${VERSION}_MacOS_x86-64.dmg
fi

wget $urldir/$filename
Expand Down

0 comments on commit b22bffa

Please sign in to comment.