forked from UltraStar-Deluxe/UltraStar-Creator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (42 loc) · 1.15 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: false
compiler: gcc
addons:
apt:
packages:
- qt5-default
- qtbase5-dev-tools
- qt5-qmake
- libtag1-dev
- os: osx
osx_image: xcode8.2
compiler: clang
before_install:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update;
fi
install:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update;
brew install qt5;
brew link --force qt5;
brew install taglib;
fi
before_script:
script:
- cd src && qmake UltraStar-Creator.pro && make
- cd ../bin/release
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
if [ -r "UltraStar-Creator.app" ]; then
macdeployqt UltraStar-Creator.app -dmg;
link=$(curl --upload-file 'UltraStar-Creator.dmg' "https://transfer.sh/UltraStar-Creator-$(git rev-parse --short HEAD).dmg");
echo "UltraStar-Creator.dmg should be available at:";
echo " $link";
fi
fi
notifications:
email: false