forked from psieg/Lightpack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (29 loc) · 892 Bytes
/
.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
language: cpp
#language: objective-c
osx_image: xcode10.1
notifications:
email: false
os:
- osx
before_install:
- brew update
- brew install qt5
- export QTDIR=/usr/local/opt/qt5
- export PATH=$PATH:$QTDIR/bin
- export VERSION=`cat Software/VERSION`
- qmake -v
script:
- cd Software
- set -e
- ./update_locales.sh
- qmake -r
- make
- macdeployqt bin/Prismatik.app -dmg
- ls bin
- hdiutil attach bin/Prismatik.dmg
- ls /Volumes/bin:Prismatik/Prismatik.app
- otool -L /Volumes/bin:Prismatik/Prismatik.app/Contents/MacOS/Prismatik
- otool -L /Volumes/bin:Prismatik/Prismatik.app/Contents/Frameworks/QtWidgets.framework/Versions/5/QtWidgets
- hdiutil detach /dev/disk1s1
- curl -T bin/Prismatik.dmg "https://psieg.de/lightpack/osx_builds/Prismatik_${VERSION}_${TRAVIS_BUILD_NUMBER}.dmg" -u "${PSIEG_UPLOAD_USER}:${PSIEG_UPLOAD_PASSWORD}"
- set +e