-
Notifications
You must be signed in to change notification settings - Fork 10
/
.travis.yml.bak
63 lines (60 loc) · 2.67 KB
/
.travis.yml.bak
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
62
63
matrix:
include:
# badge code from README:
# Travis: [![Build Status](https://app.travis-ci.com/eugenemel/maven.svg?branch=master)](https://app.travis-ci.com/eugenemel/maven)
# Issue 762: linux build retired, mac os build now implemented in AppVeyor
# - os: linux
# dist: bionic
# sudo: required
# - os: osx
# osx_image: xcode14.2
addons:
apt:
sources:
- sourceline: ppa:beineri/opt-qt-5.12.6-bionic
packages:
- qt512-meta-minimal
- mesa-common-dev
- libgl1-mesa-dev
- libsqlite3-dev
- libmysqlclient-dev
- libssl-dev
- desktop-file-utils
before_install:
- "./ci/travis/before_install_${TRAVIS_OS_NAME}.sh"
install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get install -qq qt5-default qtbase5-dev qt5-qmake libqt5printsupport5;
fi
script:
# - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then source qt-5.env; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then source qt-5.env; fi
- qmake -r build.pro
- make -j12
- make INSTALL_ROOT=appdir install
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then desktop-file-validate src/maven/appdir/share/applications/maven.desktop; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./make_dist_linux.sh "src/maven/appdir/bin/Maven"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./make_dist_osx.sh "src/maven/appdir/bin/Maven.app"; fi
# Issue 737: try to locate peakdetector executable
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
find . -name 'peakdetector.app';
fi
# Issue 737: Add peakdetector executable
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./make_dist_linux.sh "src/peakdetector/appdir/bin/peakdetector"; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ./make_dist_osx.sh "src/peakdetector/appdir/bin/peakdetector.app"; fi
- ls -la dist/
deploy:
provider: releases
api_key:
secure: "LFbeN64MAuMJ4fku6p9LeQIAE3NsW0hfHnH7tzQmvak2L8Eka+neVeu/HMqayhMK7PvUUq5Rg02EqJ/2NJyjjTBESpf0U9jFHZ9cWTVOtzWhFkzKdCFaBqRDczcRmZ+iIXnCBdrygdcKBtxOa+G3dw0GSmi6AgLCeKALs0F2+u2WNrpb8u32qgqZSQpDUmjUx1Dx97EUBSsdeqBEIzLd7AlE7OfU7tA5+90pyhoIutjGw7Xx/mn56aGfgQ9sPsbrk7NdNiPeMxnch9heie45jPJT4FQM7qDQ4lF3HZaKe3N1wheQeaTW4eC5evc86PBDq03z7RuKmviYOzxu9ofO9d0BF49zokjPXPbKnMH3PTTEamcNvDVBSS6GkF3Q5nwfizIiBss8PHg+KJDd3O//Ql+xnF2hfajNxV3L9mxXXxHttdLnhMF3xY3y4oZh65GJynjpEK8MhfX7sGDdB0aSl09LbhHW44enAIOvsWUObeGCfw4L/dHn5GuzVscbuS5LfV6TxnWzHHmb2IeRxjOAKpxivxwFeZl0rJL3NHnBOXgbXJn+Tiw4Y4T+V6IhHL44ImwxKgG8aXZ/ALYiznrio2IwDK4xZw6Us57T5u9gmW8/0Ym5sy8Pkl6w8yN8RXGjZCvoWsdrYale2Sq4GHAcma+PPis7pXnLA4azg2BAaVc="
file_glob: true
file:
- dist/Maven*.AppImage
- dist/Maven*.dmg
- dist/peakdetector*
- dist/peakdetector*.dmg
skip_cleanup: true
on:
repo: eugenemel/maven
branch: master
tags: true