forked from ossia/libossia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
executable file
·150 lines (123 loc) · 4.48 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
language: cpp
branches:
except:
- gh-pages
- /.*appveyor.*/
env:
global:
- GH_REPO_NAME: libossia
- GH_REPO_REF: github.com/OSSIA/libossia.git
- secure: "fHuSuq9OJbvmdb4bSKUenCpmJ3XtYtX9xa+dUncxVbwwGJ02K/OrQ594ON5+vK5AL/co8aOx6e5FdZ4lRyFJglevE4Qn0A6LPdH7RoORk3xZWr34BoBQWYCGykBezEu+AIIic8SFfgE2gP0fPmz9IWcEEDgQTuckLVr6DdjLkQw="
- ARTIFACTS_DIR: ${TRAVIS_BUILD_DIR}/artifacts
osx_image: xcode10
dist: xenial
sudo: required
# That was for RpiDocker build
# service:
# - docker
matrix:
exclude:
- os: linux
- os: osx
include:
- os: linux
env: BUILD_TYPE=Docs
- os: linux
env: BUILD_TYPE=Debug OSSIA_STATIC=0
- os: linux
env: BUILD_TYPE=Debug OSSIA_STATIC=1
- os: linux
env: BUILD_TYPE=Release OSSIA_STATIC=0
- os: linux
env: BUILD_TYPE=ossia-cpp
- os: linux
env: BUILD_TYPE=Release OSSIA_STATIC=1
- os: linux
env: BUILD_TYPE=PdRelease OSSIA_STATIC=1
- os: linux
env: BUILD_TYPE=PurrDataRelease OSSIA_STATIC=1
- os: linux
env: BUILD_TYPE=PdTest OSSIA_STATIC=1
## RpiDocker build is tooooooo slow
# - os: linux
# env: BUILD_TYPE=RpiDocker OSSIA_STATIC=1
# dist: trusty
## How to fix these three ?
- os: linux
env: BUILD_TYPE=RpiPdRelease OSSIA_STATIC=1
- os: linux
env: BUILD_TYPE=RpiPurrdataRelease OSSIA_STATIC=1
# - os: linux
# env: BUILD_TYPE=RpiPythonRelease OSSIA_STATIC=1 PYTHON_VERSION=3.5
- os: linux
env: BUILD_TYPE=RpiRelease OSSIA_STATIC=0
- os: linux
env: BUILD_TYPE=RpiRelease OSSIA_STATIC=1
- os: linux
env: BUILD_TYPE=Rpi-ossia-cpp
- os: linux
env: BUILD_TYPE=python PYTHON_VERSION=3.4
# - services: docker
# env: BUILD_TYPE=python_manylinux
# - services: docker
# env: BUILD_TYPE=python_manylinux PRE_CMD=linux32
- os: linux
env: BUILD_TYPE=qml
- os: osx
env: BUILD_TYPE=python PYTHON_VERSION=3.6
- os: osx
env: BUILD_TYPE=qml
- os: osx
env: BUILD_TYPE=Debug OSSIA_STATIC=0
- os: osx
env: BUILD_TYPE=Debug OSSIA_STATIC=1
- os: osx
env: BUILD_TYPE=Release OSSIA_STATIC=0
- os: osx
env: BUILD_TYPE=ossia-cpp
- os: osx
env: BUILD_TYPE=Release OSSIA_STATIC=1
- os: osx
env: BUILD_TYPE=PdRelease OSSIA_STATIC=1 PYTHON_VERSION=3.6
- os: osx
env: BUILD_TYPE=PurrDataRelease OSSIA_STATIC=1 PYTHON_VERSION=3.6
- os: osx
env: BUILD_TYPE=PdTest OSSIA_STATIC=1 PYTHON_VERSION=3.6
- os: osx
env: BUILD_TYPE=MaxRelease OSSIA_STATIC=1
- os: linux
env: BUILD_TYPE=Coverage PYTHON_VERSION=3.6
# work around https://github.com/travis-ci/travis-ci/issues/8363
before_script: pyenv global $TRAVIS_PYTHON_VERSION
before_install: travis_wait 30 "./ci/deps.sh"
script: "./ci/build.sh"
deploy:
- provider: releases
api_key:
secure: cuMgjuaFGGh7YxpIMP7dLyTzzRkAK6q1//5qZ1wHrnEjwtZK4+XRqQP4uQNCJsk22yrc9iu7AcJ9xsZ72xs3C4EXPLa7GlWLKrQD1M7J4viaZCb1AKiEjFYMEa6iRQf79ip7zDiWEQNV4aL+aJBZBLRZ4I8chvkKnUBaEOnVx6U=
file_glob: true
file: ${ARTIFACTS_DIR}/*
skip_cleanup: true
draft: false
prerelease: false
name: libossia $TRAVIS_TAG
body: >-
<h1> Release of OSSIA $TRAVIS_TAG </h1>
<p>
* All macOS packages are fat binaries that should work on macOS from 10.9.<br>
* Packages ending in 'win32' are 32-bit, 'win64' are 64-bit and 'win' work on both architectures.<br>
* All Windows packages are built with VS2017.<br>
* Python packages are built with Python 2.7 and 3.4 on ubuntu 14.04, 2.7 and 3.6 version on macOSX.12 (from Homebrew) and 2.7 and 3.5 on Raspbian stretch.<br>
* QML packages are built with Homebrew's Qt version on macOS.<br>
* QML packages are built with Qt 5.11 VS2017 64bit (only) on Windows.<br>
* QML packages are meant to be put in the [QML Import Path](http://doc.qt.io/qt-5/qtqml-syntax-imports.html). For instance on macOS it should look like '/usr/local/Cellar/qt/5.9.1/qml/Ossia/qmldir'.<br>
</p>
<p>
Please consult [this wiki page](https://github.com/OSSIA/libossia/wiki/Integrations) to see what's here and what's missing.<br><br>
* [Documentation](https://ossia.github.io)<br>
* [Examples](https://github.com/OSSIA/libossia/tree/master/Documentation)<br>
* [Building from source](https://github.com/OSSIA/libossia/wiki/Building)<br>
* ***Do note use the Github source package ("Source code" link below) to build; instead do a git clone or use 'ossia-src-unix.tar.gz'. Else the build won't work due to Github not putting submodules in the archive.***<br>
on:
repo: OSSIA/libossia
tags: true