forked from Koromix/tytools
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
54 lines (49 loc) · 2.45 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
# We need the last tag to generate a correct version string, 50 commits is not enough
git:
depth: 500
language: cpp
env:
global:
- CMAKE_BUILD_TYPE=RelWithDebInfo
matrix:
include:
- os: linux
compiler: gcc
sudo: required
dist: trusty
env:
- INSTALLER=linux
- os: osx
compiler: clang
env:
- INSTALLER=osx
- QT_PACKAGE=qtbase-5.7.1-x86_64-darwin-clang-static.txz
install:
- source contrib/ci/install-$INSTALLER.sh
before_script:
- mkdir build && cd build
- cmake -DCMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE $CMAKE_FLAGS ..
script:
- make
- if [[ "$INSTALLER" == "osx" ]]; then cpack; fi
before_deploy:
- sed -e "s/__VERSION__/$TRAVIS_BRANCH/" ../contrib/ci/deploy-bintray.json >deploy-bintray.json
deploy:
- provider: bintray
user: Koromix
key:
secure: "pLCdSDU/CtceBXeqy8BDbOAuZwAwerMLm4SxuGRTak/j/tOt6+D03ZLQ0JzeJ2QkJ9HldalbhxV8N2dLdu4/nDZnUO4MICUpfHDo+XUjiONG0TDfZnSeQr4XGcMufZ0vXvjLKhASQlRQLAT0fdvkJ8o89fbXNr062SpxK28Yi+FVOEFQnvMFJux8gcqxMPY4FWTiZk7hSvKRgdSSBgAPLoLYWveG6DJJ3kmD604A/G8JJ3VHSVueqzBVc8bXhuBXeAZT+7SQq4ToSHMNNUBalmwbXlo4KklYDrGsJBMl8ppX7WYIx3mEK8QTXDvS8snjBcx/F8teWalPN88gLFiiExYVQzrVIKIPm3ReAaLrW46zfPrqs9SPH+x6JOYCyC4zcLqwD1hfc5yc55jtxxDwlF4YPmAA3STsFDFL+E1EnwMXhI6C+yZ5MUBcQB/A2rVssPk5Cq393JvJ9TF4v7MZB/LU8toNNzKO2YXqjutV3jbzvI0L+/CFCUPrOg9X59qS84hmTsytUtbKJRCJJL1KBvGH1oGu+wOoDDmigrEH2vMpYqDmr2/CPGpY4uhWhJ3RywYNNAx0M5BGwShJWxXTa9K4bityrc7rneayYzAU5Hv+XtJl6O3dPHuPUTpzEG4So+SDyz+crcvIPrf2Am+8r0X2KJb+MLP/Dvt2MjrIrPY="
file: deploy-bintray.json
skip_cleanup: true
on:
repo: Koromix/tytools
all_branches: true
- provider: releases
api_key:
secure: rf2xKEN/HM5sV+QGswfSPQiXXGSRkhz4hx9szt4zBH//PcsQmrKiaphOE+whMOz5crKWjruaFbWBXkxqYGKdVlQ4xZVyAHE1CcQGjBN7ZXZh3bcjtkD4iyqlpJJ/wQBIuNn71whFp73LEQrggzigUuWs5j+cZBd3U73ZiETZ9RKaShw2DkX7FkDj7++nyDy3RFamO5SLGhr65RtCdX7tr83lqU6q6Cv6IwYK9aBVWSMcgtH0lucO/5s3l6WHCiWUJInrovvrSebh2x/0gscS5/XfZC9HvBrsqyZA3W9fA8ioAVUZUYEx7zQDCMqKquN1bhGKd0sz9EmSsE3+08gfY2ghZ6Q6fwuslxxqctTnweWlqwxGK6D2PQHznRZmYaomvkUwSK/tlCRZdzfM133pPrYdsG6A/fgY55jIhjrkBpr/wGyl1ZQImVpH/nrKIDbkiQzAqZmev3/r3UlpNkSuAFk9TbSQF2C1mHDhUqu1gDlhp4GPDGNnUndzXgkZ0DKZOe1AZDWAkmvqDEulRh2ydYJx6yWa6FTrcxRdnHe031MJNMOk2gef6DTuK+31kc3FuBh49h40TBVjsQDL+r0RS/XduMNnWy+M2dCy8Hb8+SC1WU9ViyuHJD5zYPaStfSGfBma1aGR8kd2cwgpBX6qCC2Cedh7eWt/bp7A946rwAM=
file: TyTools-*.*
file_glob: true
skip_cleanup: true
on:
repo: Koromix/tytools
tags: true