forked from BambooTracker/BambooTracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
61 lines (53 loc) · 1.8 KB
/
Copy path.travis.yml
File metadata and controls
61 lines (53 loc) · 1.8 KB
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
language: cpp
matrix:
include:
- os: linux
dist: xenial
- os: osx
osx_image: xcode9.3
addons:
apt:
sources:
- sourceline: 'ppa:ubuntu-sdk-team/ppa'
packages:
- qt5-default
- qttools5-dev-tools
- qtmultimedia5-dev
- libqt5multimedia5-plugins
- libasound2-dev
- libjack-dev
- libpulse-dev
homebrew:
packages:
- qt
update: true
git:
depth: 3
branches:
only:
- master
- "/^v[0-9\\.]+$/"
before_install:
# osx: force linking of qt into PATH
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew link --force qt; fi
script:
- cd BambooTracker
- qmake
- make
before_deploy:
- macdeployqt BambooTracker.app -verbose=2
- mv .qm lang
- mv lang BambooTracker.app/Contents/Resources
- mv BambooTracker.app ..
- cd ..
- zip -r BambooTracker-$TRAVIS_TAG-mac.zip BambooTracker.app *.md img demos licenses specs LICENSE
deploy:
provider: releases
api_key:
secure: cZtUOLRT6zHXsmcyZvhQzZVEjG4vJ0j3FYYu+/HAgRdZ8Rf+8hpNuELMcabMlxd4/7AOkjGDo6gqIOt0VlwtqgWtzlJwvUbMXIgNyw2bjIETUsh6rrGBtZNm9r5my7Iv4xtFw9SBCOdyykKo/kVUpomdPwPm1VwhCjgKW9eNzKW49tcmG2BHZiL2ZBibxAqGJmSEG0RkYa6Ycxbx4qFSJ6hb40MiCrtAyyyFnzdpHEdBsgpbXO/wBeQDRYaf88lC+tuh2uz81m8wNkLBFU6fIA7XgKcChy2C1tMdsMhSILSx6Zgthfb3l/EsGcbwx8dj+uWJybPc3kWHly17bdS3hjNG8N/IpNHSetmk6tPXNxiGVFxFiCjEPJohMuSksx5MFrdJgUkOUhT9Vr2ZPXOoXTjhnXAasJAgGklMlcxni+H2hCSAzIokFMOGwxRObCmXjsD9U2TvujAblYf2VU2cimoxkERlZdAwt9QZkWJ6xSW2sD8DaxQ9hcJcovXIEC9QEfqSA0klkz1GQHgJ/lMvyZPYJPzq7KkbQiwIk3yYtvlpigoWgvOslCh9hgTgXVqvHF2rcOQTgYt1q6IRIu4NwSqqhBj2BcJdM+wfNsjoiJ2+0+O6Tdc9SPSnfi9b4+i6k32FeCcNICuE+eXU2GYCosviBAC6KpfSH6Fw467ygds=
file: $TRAVIS_BUILD_DIR/BambooTracker-$TRAVIS_TAG-macOS.zip
skip_cleanup: true
on:
repo: rerrahkr/BambooTracker
tags: true
condition: $TRAVIS_OS_NAME = osx