forked from blizzard4591/openMittsu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
72 lines (62 loc) · 1.46 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
# This file was inspired from https://github.com/LibrePCB/LibrePCB/blob/master/.travis.yml
#
# General config
#
branches:
only:
- master
- travisTesting
sudo: required
dist: xenial
language: cpp
# Enable caching
#cache: ccache
notifications:
email:
on_failure: always
on_success: change
recipients:
#
# Configurations
#
matrix:
fast_finish: true
include:
# OS X + GCC
- os: osx
compiler: gcc
# OS X + Clang
- os: osx
compiler: clang
env: DEPLOY_APPIMAGE=true
# Ubuntu 16.04 + GCC 5.3.1 + Qt 5.5.1
- os: linux
compiler: gcc
env: DEPLOY_APPIMAGE=false QT_BASE="xenial"
# Ubuntu 16.04 + Clang + Qt from PPA (https://launchpad.net/~beineri) + AppImage deployment
- os: linux
compiler: clang
env: DEPLOY_APPIMAGE=true QT_BASE="qt514" QT_PPA="ppa:beineri/opt-qt-5.14.1-xenial"
after_failure:
- find build -iname '*err*.log' -type f -print -exec cat {} \;
before_install:
- chmod +x ./travis/installDependencies.sh
- chmod +x ./travis/build.sh
- chmod +x ./travis/runTests.sh
- chmod +x ./travis/buildAppImage.sh
install:
- source ./travis/installDependencies.sh
script:
- ./travis/build.sh
- ./travis/runTests.sh
- ./travis/buildAppImage.sh
deploy:
provider: bintray
file: ./travis/bintray.json
user: "${BINTRAY_USER}"
key: "${BINTRAY_API_KEY}"
skip_cleanup: true
on:
branch: master
condition: ${DEPLOY_APPIMAGE} = true