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 81
/
.travis.yml
77 lines (69 loc) · 2.21 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
77
language: cpp
services:
- docker
sudo: required
dist: trusty
osx_image: xcode11
env:
global:
- QDEP_CACHE_DIR=$HOME/.qdep-cache
- QT_VER=5.13.2
- DOCKER_IMAGE=datasync
- EXTRA_MODULES=".skycoder42.datasync"
- MAKE_RUN_TESTS=true
- TARGET_NAME=qtmvvm
matrix:
include:
- os: linux
env:
- PLATFORM=gcc_64
- BUILD_DOC=true
- BUILD_EXAMPLES=true
- 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: linux
env:
- PLATFORM=wasm_32
- DOCKER_IMAGE=common
- 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:
- ./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: DNJ5j4HmaEKSrFk+4+hMBAiM4eEJJrfvrSPgY37S1rVByFmtfpAF3ZDb0UuJpD7PEWP5cOOOwg5t7pjh3FBREQYgSxmigmJuBH7Y660+NJ+yn+iZyQJO6aNl4wLhzLBKFq7vgWTaoovM7URVYfBrY++NvoIpHWsd+rxohNcF/xiFTbKtwa9qh82SGtAdnrvYGaQ/Je8q7i9Uhh9vE4hnDauzGSrMCpr5mzbyvtYTKTfzEadty2wTXETboCd6dDg6GLFvxwxeNxe4/gg4kRVEPk/pAU1skNwsfjInBS2EqlWvOqoHggkl726+3E4QcHlL0AkkTpEafPb2zDUKsV8YlnFs3ckL1/c6+ict7iX5tt4woug940CvzU7cTOXTvinZPoFmFDv9d46CU5vYEuXUy4ExQCxHDeimk0VwICxJNxkYS+CNCSrGAMkwHZV3V6SUcoPuha4zz7mKpP0IGOmQhG/ZBtRNryh7tyI/dqhMu6j5RhqoBIPkVJdbgHC5tXgLfAmQOeE+jXLeYXV0oVine2Oof7E4WNVvS1if2HXUxB5S8wNnS3qQ7tNHtxk0gHRa5YvBOyV80ApVhmf/3cO/AXvBMT0rR3FhOso+drd8RiTLgYn5qNV9t0Bq9ykm1GAIAwIJVieyV69b43qqOfhuUA9v1y7dpzn7HYjUYUWCo90=
file_glob: true
file: install/${TARGET_NAME}_*_$QT_VER.tar.xz
on:
repo: Skycoder42/QtMvvm
tags: true
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- $HOME/.gradle/caches/
- $HOME/.gradle/wrapper/
- $HOME/.android/build-cache
- $QDEP_CACHE_DIR