File tree Expand file tree Collapse file tree 3 files changed +48
-12
lines changed
Expand file tree Collapse file tree 3 files changed +48
-12
lines changed Original file line number Diff line number Diff line change 1- language : python
2-
3- python :
4- - " 3.4"
51
62env :
3+ - VERSION=3.3.4.1
4+ - VERSION=3.4.6.2
5+ - VERSION=3.5.7.2
6+ - VERSION=3.6.7.2
7+ - VERSION=4.0.6.2
8+ - VERSION=4.1.6.1
9+ - VERSION=4.2.8.2
10+ - VERSION=4.3.7.2
711 - VERSION=4.4.5
812 - VERSION=5.0.1
913
14+ matrix :
15+ allow_failures :
16+ - os : linux
17+ env : VERSION=3.3.4.1
18+
1019before_install :
11- - pushd /tmp
12- - wget http://download.documentfoundation.org/libreoffice/stable/${VERSION}/deb/x86_64/LibreOffice_${VERSION}_Linux_x86-64_deb.tar.gz
13- - tar xvf LibreOffice_${VERSION}_Linux_x86-64_deb.tar.gz
14- - cd LibreOffice_${VERSION}.?_Linux_x86-64_deb/DEBS
15- - sudo dpkg -i *.deb
16- - popd
20+ - sudo VERSION=$VERSION bash ci/linux.bash
1721
1822script :
1923 - cd tests
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -o errexit
4+
5+ [[ $( uname) != ' Linux' ]] && exit
6+
7+ pushd /tmp
8+
9+ if [[ " $VERSION " =~ ^3.3.* ]]; then
10+ urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION /deb/x86_64
11+ cutversion=$( echo $VERSION | sed ' s/\.[0-9]$//' )
12+ filename=LibO_${cutversion} _Linux_x86-64_install-deb_en-US
13+ elif [[ " $VERSION " =~ ^3.[4-5].* ]]; then
14+ urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION /deb/x86_64
15+ rcversion=$( echo $VERSION | sed ' s/\.2$/rc2/' )
16+ filename=LibO_${rcversion} _Linux_x86-64_install-deb_en-US
17+ elif [[ " $VERSION " =~ ^3.* ]]; then
18+ urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION /deb/x86_64
19+ filename=LibO_${VERSION} _Linux_x86-64_install-deb_en-US
20+ elif [[ " $VERSION " =~ ^4.[0-3].* ]]; then
21+ urldir=https://downloadarchive.documentfoundation.org/libreoffice/old/$VERSION /deb/x86_64
22+ filename=LibreOffice_${VERSION} _Linux_x86-64_deb
23+ else
24+ urldir=http://download.documentfoundation.org/libreoffice/stable/$VERSION /deb/x86_64/
25+ filename=LibreOffice_${VERSION} _Linux_x86-64_deb
26+ fi
27+
28+ wget $urldir /${filename} .tar.gz
29+ tar xvf ${filename} .tar.gz
30+ dpkg -i Lib* _Linux_x86-64* deb* /DEBS/* .deb
31+
32+ twodigitsversion=$( echo $VERSION | cut -c 1-3)
33+ ln -s /opt/libreoffice${twodigitsversion} /program/python /tmp/python
Original file line number Diff line number Diff line change 11# ## Please modify and send me improvements
22
3- twodigitsversion =$(shell echo $$VERSION | cut -c 1-3)
4- python =/opt/libreoffice$(twodigitsversion ) /program/python
3+ python =/tmp/python
54unoconv =../unoconv
65
76# failing filters doc6 doc95 sdw3 sdw4 sdw sxw
You can’t perform that action at this time.
0 commit comments