-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
92 lines (81 loc) · 2.3 KB
/
.travis.yml
File metadata and controls
92 lines (81 loc) · 2.3 KB
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
language: python
branches:
only:
- master
install:
- python --version
- make deps
- make develop
script-anchors:
- &script-linux
- make docs
- make lint
- make test
- &script-linux-integration-tests
- sudo apt-get update --fix-missing
- sudo apt-get update -qq
- sudo add-apt-repository -y ppa:webkit-team/ppa
- sudo apt-get update
- sudo apt-get install libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev
- sudo apt-get update --fix-missing
# Fake display
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- sudo apt-get install libsndfile1
# Set PROJUCER to GPL mode
- mkdir $TRAVIS_BUILD_DIR/3rd_party
- cd $TRAVIS_BUILD_DIR/3rd_party
- git clone https://github.com/WeAreROLI/JUCE.git
- cd JUCE/extras/Projucer/JuceLibraryCode
- pwd
- sed -i "s/#define JUCER_ENABLE_GPL_MODE 0/#define JUCER_ENABLE_GPL_MODE 1/" AppConfig.h
- sed -i "s/#define JUCE_USE_DARK_SPLASH_SCREEN 1/#define JUCE_USE_DARK_SPLASH_SCREEN 0/" AppConfig.h
- sed -i "s/#define JUCE_WEB_BROWSER 1/#define JUCE_WEB_BROWSER 0/" AppConfig.h
- cat AppConfig.h
# Build PROJUCER
- cd ../Builds/LinuxMakefile
- make -j4 CONFIG=Debug
- cd $TRAVIS_BUILD_DIR
# Python
- make docs
- make lint
- make examples
- make integration
- codecov
matrix:
include:
- os: linux
sudo: false
dist: xenial # required for Python >= 3.7
python: "3.7"
script: *script-linux
- os: linux
dist: trusty
sudo: required
python: "3.6"
env:
- PATH=$TRAVIS_BUILD_DIR/3rd_party/JUCE/extras/Projucer/Builds/LinuxMakefile/build:$PATH
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- g++-6
- libfreetype6-dev
- libx11-dev
- libstdc++6
- libc++-dev
- libxinerama-dev
- libxrandr-dev
- libxcursor-dev
- libxcomposite-dev
- mesa-common-dev
- libasound2-dev
- freeglut3-dev
- libcurl4-gnutls-dev+
- libasound2-dev
- libsndfile1
- libjack-dev
script: *script-linux-integration-tests