-
Notifications
You must be signed in to change notification settings - Fork 29
/
.travis.yml
executable file
·35 lines (30 loc) · 1.05 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
sudo: false
matrix:
include:
- os: linux
dist: xenial
sudo: required
- os: osx
osx_image: xcode8.3
language: c
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew cask uninstall oclint; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install lv2 meson ninja pkg-config autoconf m4 libtool; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq lv2-dev python3-pip ninja-build autoconf m4 libtool python3-setuptools; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo -H pip3 install --upgrade pip; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo -H pip3 install meson; fi
script:
- sudo chmod +x install.sh && sudo ./install.sh
# deploy:
# provider: releases
# api_key:
# secure: ${GH_TOKEN}
# file_glob: true
# file: bin/*
# skip_cleanup: true
# overwrite: true
# on:
# repo: lucianodato/noise-repellent
# tags: true