This repository has been archived by the owner on Mar 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
76 lines (68 loc) · 2.32 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
language: cpp
services:
- docker
sudo: required
dist: trusty
osx_image: xcode11
env:
global:
- QDEP_CACHE_DIR=$HOME/.qdep-cache
- QT_VER=5.13.1
- DOCKER_IMAGE=common
- EXTRA_MODULES=".skycoder42.jsonserializer .skycoder42.service"
- MAKE_RUN_TESTS=true
- TARGET_NAME=qtdatasync
matrix:
include:
- os: linux
env:
- PLATFORM=gcc_64
- BUILD_DOC=true
- BUILD_EXAMPLES=true
- EXTRA_PKG="libsecret-1-dev" #in order to build secrectservice keystore
- QMAKE_FLAGS="CONFIG+=include_server_tests"
- os: linux
env:
- PLATFORM=android_arm64_v8a
- os: linux
env:
- PLATFORM=android_x86_64
- os: linux
env:
- PLATFORM=android_armv7
- os: linux
env:
- PLATFORM=android_x86
- os: osx
env:
- PLATFORM=clang_64
- os: osx
env:
- PLATFORM=ios
before_install:
- git clone https://github.com/Skycoder42/QtModules.git ./qtmodules-travis
- travis_wait 40 ./qtmodules-travis/ci/$TRAVIS_OS_NAME/setup.sh
script:
- ./tests/ci/setup.sh
- ./qtmodules-travis/ci/$TRAVIS_OS_NAME/build.sh
before_deploy:
- ./qtmodules-travis/ci/$TRAVIS_OS_NAME/upload-prepare.sh
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: rlbQDrfTPXKyOBgnixuvnXwl/0G9O89rHe+IEGJuLWc7hfkEYKhDCcjjfONM6dQ/qp3NDYKJYO1FsYgfkjN50IywpHO2Hgmr/2Gg/Bin37kbT7ZPzKqYT2TD1IqTerdNmL7n60YjJtvIDLd/k+9k5xU2TDd1jawiz1pEKkvUKHkBImKhNUk3NX6Ba8d4xbWwAvg3IIg63TI42f0srapZY+jvzbQjiuIqfL+pbByfcPi77NIKtrSJNF0UsLFeeqEYrvd1TsmeObyp566xPH7OZzJ0llomDqmD1leSYUM7bwBMscQai/3BcucygQbX+wx/Z9Ghq4HhXQ+E9nQvhEHwAXgvGB+Rxd/IvtzBRS8VQoDpCyFqEN1xhEE38vvkkTGfxWLDCeTSNsKrZYj6iqPOrOkF6/DFC/L1jSy0BumedhK4+Zi2InvniGSPIk9Gk3PWgJp1MWTzdJ+E3L5WEch4iV+TY3E8ukPCuvTyIQiitm9O+Dfz2FVmT+aMwvL/tHr7w7dG/05fDZj7psXjEGTPdKIfzjf1fUp++AKmg0hjPYXkQRvMg7jHS9R4AYvwVagDleXLZwq7lhmREq1gJL32D806sdN8+9scNKrA6D/ZhHr6j03i6eLoLzL1n17IOfjB6taantmsOeSEV4TKyznMXOY2/Wdm8gIpk0GTn1h7O8Y=
file_glob: true
file: install/${TARGET_NAME}_*_$QT_VER.tar.xz
on:
repo: Skycoder42/QtDataSync
tags: true
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -rf $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
- $QDEP_CACHE_DIR