forked from csound/csound
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (82 loc) · 2.82 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
language: cpp
matrix:
include:
- os: linux
dist: trusty
sudo: false
compiler: gcc
- os: linux
dist: xenial
sudo: false
compiler: clang
- os: osx
compiler: clang
env:
global:
- secure: "pOICMBtfwljj450Vht1D2/XvtUm07edkbiUI0+PCnfuwiwBFJyqY919whZu+CrplQvkVS+RzvxT3wpgkVccflo0uvNJ7NwfKksRqrUKwTp59nGIwjUsnDjI3YkxOQyxIdIPsSm3bUxXVy/Jge0v6vzvbbPXKxyAxKsupnUBYOwM="
- OMP_NUM_THREADS=4
- VERBOSE=1
before_script:
- mkdir -p build
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then (git clone git://github.com/erikd/libsndfile.git && cd libsndfile && mkdir -p build && cd build && cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME .. && make && make install); fi
script:
- "[ ${COVERITY_SCAN_BRANCH} == 1 ] || (cd $TRAVIS_BUILD_DIR/build && cmake .. -DCMAKE_INCLUDE_PATH=$HOME/include -DCMAKE_LIBRARY_PATH=$HOME/lib -DBUILD_STATIC_LIBRARY=ON -DBUILD_TESTS=ON -DCMAKE_INSTALL_PREFIX=$HOME && make && make test && make regression && make csdtests)"
# - echo -en "building tar package"
# - make install
# - cd $HOME
# - export PACKAGE_NAME=csound-$TRAVIS_OS_NAME-build
# - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cp -r $HOME/Library/Frameworks/ $HOME/lib; fi
# - tar czf $PACKAGE_NAME.tgz ./bin ./lib ./include
###
addons:
coverity_scan:
project:
name: "csound/csound"
description: "A user-programmable and user-extensible sound processing language and software synthesizer"
notification_email: CSOUND-DEV@listserv.heanet.ie
build_command_prepend: "mkdir -p $TRAVIS_BUILD_DIR/build && cd $TRAVIS_BUILD_DIR/build && cmake .."
build_command: "make -C $TRAVIS_BUILD_DIR/build"
branch_pattern: coverity_scan
apt:
packages:
- cmake
- libsndfile1-dev
- libasound2-dev
- libjack-dev
- portaudio19-dev
- libportmidi-dev
- libpulse-dev
- swig
- liblua5.1-0-dev
- python-dev
- puredata-dev
- default-jdk
- libfltk1.1-dev
- libfluidsynth-dev
- liblo-dev
- fluid
- ladspa-sdk
- libpng-dev
- dssi-dev
- libstk0-dev
- libgmm++-dev
- bison
- flex
- libportsmf-dev
- libeigen3-dev
- libcunit1-dev
- python-tk
notifications:
email:
recipients:
- CSOUND-DEV@listserv.heanet.ie
#deploy:
# overwrite: true
# skip_cleanup: true
# provider: releases
# api_key:
# secure:
# file: $HOME/csound-$TRAVIS_OS_NAME-build.tgz
# on:
# repo: csound/csound
# branch: feature/realtime