Commit f933242 1 parent 2ab0603 commit f933242 Copy full SHA for f933242
File tree 3 files changed +48
-12
lines changed
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"
5
1
6
2
env :
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
7
11
- VERSION=4.4.5
8
12
- VERSION=5.0.1
9
13
14
+ matrix :
15
+ allow_failures :
16
+ - os : linux
17
+ env : VERSION=3.3.4.1
18
+
10
19
before_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
17
21
18
22
script :
19
23
- 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 1
1
# ## Please modify and send me improvements
2
2
3
- twodigitsversion =$(shell echo $$VERSION | cut -c 1-3)
4
- python =/opt/libreoffice$(twodigitsversion ) /program/python
3
+ python =/tmp/python
5
4
unoconv =../unoconv
6
5
7
6
# failing filters doc6 doc95 sdw3 sdw4 sdw sxw
You can’t perform that action at this time.
0 commit comments