Skip to content

Commit 029d807

Browse files
committed
add CI ymls
1 parent 1c148e5 commit 029d807

File tree

2 files changed

+100
-0
lines changed

2 files changed

+100
-0
lines changed

.travis.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
language: cpp
2+
3+
services:
4+
- docker
5+
6+
sudo: required
7+
8+
env:
9+
global:
10+
- QT_VER=5.9.1
11+
- PROJECT=QtAutoUpdater
12+
13+
matrix:
14+
include:
15+
- os: linux
16+
dist: trusty
17+
env:
18+
- PLATFORM=gcc_64
19+
- BUILD_DOC=true
20+
- os: osx
21+
osx_image: xcode8.3
22+
env:
23+
- PLATFORM=clang_64
24+
25+
before_install:
26+
- git clone https://github.com/Skycoder42/QtModules.git ./qtmodules-travis
27+
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then travis_wait 40 ./qtmodules-travis/ci/$TRAVIS_OS_NAME/setup.sh; else ./qtmodules-travis/ci/$TRAVIS_OS_NAME/setup.sh; fi
28+
29+
script:
30+
- ./qtmodules-travis/ci/$TRAVIS_OS_NAME/build.sh
31+
32+
before_deploy:
33+
- ./qtmodules-travis/ci/$TRAVIS_OS_NAME/upload-prepare.sh
34+
deploy:
35+
provider: releases
36+
skip_cleanup: true
37+
api_key:
38+
secure: J0aULmVBovEKxvkx/Y5kkC9SFfcCvqiWC1mjkFabjaUJDbk42ZrkbFkn7+d4FdD1fGKfbknXGGMLwyRhcWra6+NpAzDu8dSairC8WnOge27fgzc+yHRbrPonykqypa3S/0muFAMyuswLNUL3+AYqqNSxi/Lhf5866iJm8DI58rupLtVqwnxW7ekuneUCpjv2b7yEpn44JnQXTp6XLko3RRVHzd8ZmZkW5lTSLoTvu1SdyQLcPSXjP0YKrq7piJpMnDGEZ5pZqVxO9Pr+9kTn/Gmr2iTrvUoF+i7vByXFNepk3deEXCiSOSmNgZErYXVeWnzFeXQj5vx3jH0+IbTm4a4+tvgQs2t171xORe/nXM1AB3EWhp/4rWmzkQ5v8Bd8a+VZy0j0GqILnWMoxUY+ygx8q12sapi2KSrsPVOz2fa8RHu08Bi2McMrFKzWSxeXJ8hUL6mvuitSz9hL+W5MOm4qf4C2/CJTGRUC6EpT9HVOCNSU0P8ddkHyFhxUZXDnGV8I7I0CsPQRbV7bPRJKVddQU+H83uEXYWKDeff2fncxR30VMaLWCo8J0c9FmTpEAc6ztJXWsq9dZ2923esLybNV9pung2b+EYuOjgXJSYymHM/jT1PUn8VIeplbd+f7AUa3LVzJJBqNqj8FbMdoasu/glFuVMRDVj7PCM80vOk=
39+
file_glob: true
40+
file: install/opt/build_*_$QT_VER.tar.xz
41+
on:
42+
repo: Skycoder42/QtAutoUpdater
43+
tags: true
44+
45+
before_cache:
46+
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
47+
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
48+
cache:
49+
directories:
50+
- $HOME/.gradle/caches/
51+
- $HOME/.gradle/wrapper/
52+
- $HOME/.android/build-cache

appveyor.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
image:
2+
- Visual Studio 2017
3+
- Visual Studio 2015
4+
5+
version: build-{build}
6+
7+
environment:
8+
QT_VER: 5.9.1
9+
PROJECT: QtAutoUpdater
10+
11+
matrix:
12+
- PLATFORM: msvc2017_64
13+
- PLATFORM: msvc2015_64
14+
- PLATFORM: msvc2015
15+
- PLATFORM: mingw53_32
16+
17+
matrix:
18+
exclude:
19+
- PLATFORM: msvc2017_64
20+
image: Visual Studio 2015
21+
- PLATFORM: mingw53_32
22+
image: Visual Studio 2015
23+
- PLATFORM: msvc2015_64
24+
image: Visual Studio 2017
25+
- PLATFORM: msvc2015
26+
image: Visual Studio 2017
27+
28+
install:
29+
- git clone https://github.com/Skycoder42/QtModules.git .\qtmodules-travis
30+
- .\qtmodules-travis\ci\win\setup.bat
31+
32+
build_script:
33+
- .\qtmodules-travis\ci\win\build.bat
34+
35+
after_build:
36+
- .\qtmodules-travis\ci\win\upload-prepare.bat
37+
38+
artifacts:
39+
- path: install\build_*_%QT_VER%.zip
40+
41+
deploy:
42+
provider: GitHub
43+
auth_token:
44+
secure: Cp5GRQku2ZWnKPE12NB5q11ZO0Fr5mlzdUTjnLpYJr/dki4LPVqm231edFggogy8
45+
artifact: /.*\.zip/
46+
force_update: true
47+
on:
48+
appveyor_repo_tag: true

0 commit comments

Comments
 (0)