forked from docsteer/sacnview
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (46 loc) · 1.41 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
language: cpp
matrix:
include:
- os: linux
dist: trusty
sudo: required
compiler: gcc
addons:
apt:
sources:
- sourceline: 'ppa:beineri/opt-qt592-trusty'
packages:
# FPM dependencies
- build-essential
- ruby
- ruby-dev
# QT
- qt59base
- qt59multimedia
install:
# Install FPM
- cd install/linux/ && cp _FPM_Makefile Makefile && make package && sudo dpkg -i fpm*.deb && fpm --version && cd ../../
# QT
- source /opt/qt*/bin/qt*-env.sh
script:
- qmake
- make -j$(nproc)
after_success:
- FILE=$(readlink -f install/linux/sACNView_*AppImage)
- curl --upload-file $FILE https://transfer.sh/$(basename $FILE)
- FILE=$(readlink -f install/linux/sacnview_*.deb)
- curl --upload-file $FILE https://transfer.sh/$(basename $FILE)
- os: osx
osx_image: xcode8.3
before_install:
- brew update
install:
# QT
- brew install qt
- brew link --force qt
script:
- qmake
- make -j4
after_success:
- FILE=$(echo `pwd`/`ls install/mac/sACNView*.dmg`)
- curl --upload-file $FILE https://transfer.sh/$(basename $FILE)