-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
81 lines (67 loc) · 1.36 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
notifications:
email: false
language: python
# if pull request: always build
# if push: only build for master branch
if: (type != push) OR (type = push AND branch = master)
jobs:
include:
- name: "Linux (quick)"
python: 3.6
env: arg=--quick
- name: "Linux (params)"
python: 3.6
env: arg=--params
- name: "Linux (full)"
python: 3.6
env: arg=""
- name: "Mac (quick)"
os: osx
osx_image: xcode11.2
language: shell
env: arg=--quick
- name: "Mac (params)"
os: osx
osx_image: xcode11.2
language: shell
env: arg=--params
- name: "Mac (full)"
os: osx
osx_image: xcode11.2
language: shell
env: arg=""
stages:
- name: services
if: os == linux
addons:
apt:
packages:
- cmake
- webkit2gtk-4.0
- libboost-all-dev
- libsndfile-dev
homebrew:
packages:
- libsndfile
update: true
services:
- xvfb
install:
- pip3 install --upgrade pip
- pip3 install -r requirements.txt
# install Faust
- cd modules/faust
- make
- sudo make install
- cd $TRAVIS_BUILD_DIR
script:
- if [[ $TRAVIS_OS_NAME == 'linux' ]];
then bash run_tests.sh $arg;
else sh run_tests.sh $arg;
fi
before_cache:
- brew cleanup
cache:
directories:
- $HOME/.cache/pip
- $HOME/Library/Caches/Homebrew