2017-07-18 15:59:37 +03:00
|
|
|
pipeline:
|
|
|
|
clone:
|
|
|
|
image: plugins/git
|
|
|
|
depth: 1
|
2017-08-05 15:29:13 +03:00
|
|
|
qt-5.7:
|
|
|
|
image: nextcloudci/client-5.7:latest
|
|
|
|
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:
|
|
|
|
image: nextcloudci/client-5.8:latest
|
|
|
|
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:
|
|
|
|
image: nextcloudci/client-5.9:latest
|
|
|
|
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
|
2017-07-18 15:59:37 +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
|