forked from Skycoder42/QtDataSync
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
70 lines (62 loc) · 2.2 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
language: cpp
services:
- docker
sudo: required
dist: trusty
osx_image: xcode9.3
env:
global:
- QPMX_CACHE_DIR=$HOME/.qpmx-cache
- QT_VER=5.11.1
- DOCKER_IMAGE=common
- EXTRA_MODULES=".qtremoteobjects .skycoder42.jsonserializer .skycoder42.service"
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
- 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
- ./src/3rdparty/cryptopp/travis.sh
- 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/build_*_$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/
- rm -rf $QPMX_CACHE_DIR/locks
- rm -rf $QPMX_CACHE_DIR/tmp
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
- $QPMX_CACHE_DIR