-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
99 lines (99 loc) · 3.26 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
language: cpp
branches:
except:
- "/^skipthisbranch$/"
env:
global:
- JOKER_RELEASE_PATH=$HOME
- TESTS_RELEASE_PATH=$HOME
- secure: PtkXntkuVwLiSWejZCEiyF/7jzVz4uD6lROei/4I/obqAdWliGoEWuH04HYLto4Vyzu97dbDi5EgHuP9NwpQPYhYblzGZwm09mRz2gQkpXXBVbiIV7EQEm7PDeuWAHpIJ07ufOaQG8w40meHT631CBhkbHPwJ7TVwfLzK9nOxBU=
matrix:
include:
- env: UNCRUSTIFY
os: osx
install: brew install uncrustify
before_script: echo N/A
script: scripts/uncrustify.sh
- env: DOXYGEN
os: linux
install: sudo apt-get update && sudo apt-get install doxygen
before_script: echo N/A
script: scripts/doxygen.sh
- env:
- QTVER=551
- PROJECT=app/Joker/Joker.pro
os: linux
- env:
- QTVER=551
- PROJECT=app/Joker/Joker.pro
os: osx
after_script:
- make prettydmg
- export RELEASED_PACKAGE_FILENAME=$(ls -1 Joker_v*.dmg)
- echo "RELEASED_PACKAGE_FILENAME:$RELEASED_PACKAGE_FILENAME"
- env:
- QTVER=532
- PROJECT=app/Joker/Joker.pro
- COVERITY_SCAN_PROJECT_NAME=Phonations/Joker
- COVERITY_SCAN_SCRIPT=https://scan.coverity.com/scripts/travisci_build_coverity_scan.sh
- COVERITY_SCAN_BRANCH_PATTERN=master
- COVERITY_SCAN_BUILD_COMMAND=make
- COVERITY_SCAN_BUILD_COMMAND_PREPEND="cov-configure --comptype clangcxx --compiler
clang++"
- secure: YlyaETwveWXOT1wpOz68Vp8Pj1zZ5u44ppOabNw/Xe4M8ZHdPy3QkmyB7wTeUgNjlHzkW23aOOzTk8bm5wxS1iQRxHsQ/DnZd0TcULPuTY9+yO2L/Wkwk6quFBqGlkT8h2v4xkRDyshG8OxF6eqeeq5Cflt/LOhx+MnJqse9EzQ=
os: linux
script: if [[ "$TRAVIS_BRANCH" == "$COVERITY_SCAN_BRANCH_PATTERN" ]]; then curl
-s "$COVERITY_SCAN_SCRIPT" | bash; fi
- env:
- QTVER=551
- PROJECT=specs/AllSpecs/AllSpecs.pro
os: osx
before_install: sudo pip install cpp-coveralls
script:
- make
- "./AllSpecs"
after_success: coveralls -E .+/moc_.+ -E .+/ui_.+ -E .+\.app -E .+/tests/.+ -E
.+/app/.+ -E .+/specs/.+
after_failure: "./scripts/upload.sh *.result.bmp"
- env:
- QTVER=551
- PROJECT=app/LTCTool/LTCTool.pro
os: osx
- env:
- QTVER=551
- PROJECT=app/MidiTool/MidiTool.pro
os: osx
- env:
- QTVER=551
- PROJECT=tests/tests.pro
os: osx
install:
- git submodule update --init --recursive
- ". scripts/install_qt.sh"
- scripts/install_ltc.sh
- scripts/install_ffmpeg.sh
- scripts/install_portaudio.sh
- scripts/install_rtmidi.sh
- if [[ "$TRAVIS_OS_NAME" == osx ]]; then scripts/add_key.sh; fi
before_script: qmake $PROJECT
script: make
notifications:
email: false
irc:
channels: phonations.com#joker
on_success: always
webhooks:
urls: https://webhooks.gitter.im/e/9e468ed6125989020262
on_success: always
slack:
secure: CVzAyvFoT5LFnODOVooG21txFq7B75nER+tLiGr4GFTimKWPb9mdmrqxvaHyJdp0RBtdLFyuWCeA2Gxi1SarPSCstlw0HP0rP0w27gEwVmt2E1xO4RUzHv5JKdbogKNHZJfdTw5VVAgzGNhCRBw2pL33CV0KwJ20lfJUOcg0JY8=
#deploy:
# provider: releases
# api_key:
# secure: DTPxxREDO8+Pi/cnqKr1nce9FxJ3AUY7h4S9gHt3S2vBkrlZM4vD4GLXCVjbZuSpnqkTTAiGhUiYEN8jiF3pjStKKlEl2w537cDpoSl1ZAB5G+G3PKTBxG5MhRMZkTEgYFvtx/VPpvleQ4C8cMosogQk7iBwwuk19FLbcL0/kL4=
# file: "${RELEASED_PACKAGE_FILENAME}"
# skip_cleanup: true
# on:
# tags: true
# condition: "$PROJECT = app/Joker/Joker.pro && $TRAVIS_OS_NAME = osx"