2017-11-21 12:40:10 +03:00
|
|
|
clone:
|
|
|
|
git:
|
|
|
|
image: plugins/git
|
2018-02-02 21:11:10 +03:00
|
|
|
tags: true
|
2018-06-23 22:50:37 +03:00
|
|
|
depth: 1
|
2017-11-21 12:40:10 +03:00
|
|
|
|
2017-07-18 15:59:37 +03:00
|
|
|
pipeline:
|
2017-08-05 15:29:13 +03:00
|
|
|
qt-5.7:
|
2018-06-23 22:21:59 +03:00
|
|
|
image: nextcloudci/client-5.7:client-5.7-3
|
2017-08-05 15:29:13 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt57/bin/qt57-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.8.0 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt57/bin/qt57-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake -D NO_SHIBBOLETH=1 ../ &&
|
|
|
|
make"
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
TESTS: qt-5.7
|
|
|
|
qt-5.8:
|
2018-06-23 22:21:59 +03:00
|
|
|
image: nextcloudci/client-5.8:client-5.8-3
|
2017-08-05 15:29:13 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt58/bin/qt58-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.8.0 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt58/bin/qt58-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake -D NO_SHIBBOLETH=1 ../ &&
|
|
|
|
make"
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
TESTS: qt-5.8
|
2017-08-05 22:08:45 +03:00
|
|
|
qt-5.9:
|
2018-06-23 22:21:59 +03:00
|
|
|
image: nextcloudci/client-5.9:client-5.9-4
|
2017-08-05 22:08:45 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt59/bin/qt59-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.8.0 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
source /opt/qt59/bin/qt59-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake -D NO_SHIBBOLETH=1 ../ &&
|
|
|
|
make"
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
TESTS: qt-5.9
|
2018-06-26 13:49:06 +03:00
|
|
|
qt-5.10:
|
2018-06-26 16:43:10 +03:00
|
|
|
image: nextcloudci/client-5.10:client-5.10-3
|
2018-06-26 13:49:06 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt510/bin/qt510-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.8.0 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt510/bin/qt510-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake -D NO_SHIBBOLETH=1 ../ &&
|
|
|
|
make"
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
TESTS: qt-5.10
|
|
|
|
qt-5.11:
|
2018-06-26 16:43:10 +03:00
|
|
|
image: nextcloudci/client-5.11:client-5.11-3
|
2018-06-26 13:49:06 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.8.0 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=gcc-7 &&
|
|
|
|
export CXX=g++-7 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake -D NO_SHIBBOLETH=1 ../ &&
|
|
|
|
make"
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
TESTS: qt-5.11
|
|
|
|
|
2018-06-26 16:41:23 +03:00
|
|
|
qt-5.11-clang:
|
2018-06-26 16:43:10 +03:00
|
|
|
image: nextcloudci/client-5.11:client-5.11-3
|
2018-06-26 16:41:23 +03:00
|
|
|
commands:
|
|
|
|
# Install QtKeyChain
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=clang-6.0 &&
|
|
|
|
export CXX=clang++-6.0 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
cd /tmp &&
|
|
|
|
git clone https://github.com/frankosterfeld/qtkeychain.git &&
|
|
|
|
cd qtkeychain &&
|
|
|
|
git checkout v0.8.0 &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake ../ &&
|
|
|
|
make &&
|
|
|
|
make install"
|
|
|
|
# Build client
|
|
|
|
- /bin/bash -c "
|
|
|
|
export CC=clang-6.0 &&
|
|
|
|
export CXX=clang++-6.0 &&
|
|
|
|
source /opt/qt511/bin/qt511-env.sh &&
|
|
|
|
mkdir build &&
|
|
|
|
cd build &&
|
|
|
|
cmake -D NO_SHIBBOLETH=1 ../ &&
|
|
|
|
make"
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
TESTS: qt-5.11-clang
|
|
|
|
|
2018-06-26 16:43:10 +03:00
|
|
|
AppImage:
|
|
|
|
image: nextcloudci/client-5.11:client-5.11-3
|
2017-11-21 12:40:10 +03:00
|
|
|
commands:
|
|
|
|
- /bin/bash -c "./admin/linux/build-appimage.sh"
|
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
BUILD: AppImage
|
|
|
|
|
2018-01-06 19:03:10 +03:00
|
|
|
Debian:
|
2018-01-30 21:22:46 +03:00
|
|
|
image: nextcloudci/client-debian-ci:client-debian-ci-2
|
2018-01-06 19:03:10 +03:00
|
|
|
commands:
|
|
|
|
- /bin/bash -c "./admin/linux/debian/drone-build.sh"
|
2018-01-27 10:50:28 +03:00
|
|
|
secrets: [ DEBIAN_SECRET_KEY, DEBIAN_SECRET_IV ]
|
2018-01-06 19:03:10 +03:00
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
BUILD: Debian
|
|
|
|
|
2018-01-30 16:23:10 +03:00
|
|
|
documentation:
|
|
|
|
image: nextcloudci/documentation:documentation-5
|
|
|
|
commands:
|
|
|
|
- cd doc
|
|
|
|
- make html
|
2018-02-01 17:58:51 +03:00
|
|
|
when:
|
|
|
|
matrix:
|
|
|
|
TESTS: documentation
|
2018-01-30 16:23:10 +03:00
|
|
|
|
2017-08-05 15:29:13 +03:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- TESTS: qt-5.7
|
|
|
|
- TESTS: qt-5.8
|
2017-08-05 22:08:45 +03:00
|
|
|
- TESTS: qt-5.9
|
2018-06-26 13:49:06 +03:00
|
|
|
- TESTS: qt-5.10
|
|
|
|
- TESTS: qt-5.11
|
2018-06-26 16:41:23 +03:00
|
|
|
- TESTS: qt-5.11-clang
|
2017-11-21 12:40:10 +03:00
|
|
|
- BUILD: AppImage
|
2018-05-03 20:02:49 +03:00
|
|
|
- BUILD: Debian
|
2018-02-01 17:58:51 +03:00
|
|
|
- TESTS: documentation
|
2017-11-21 11:26:46 +03:00
|
|
|
|
|
|
|
branches: [ master, 2.* ]
|