forked from AravisProject/aravis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (41 loc) · 933 Bytes
/
.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
os:
- linux
- osx
language: C
compiler:
- gcc
- clang
matrix:
exclude:
- os: osx
allow_failures:
- os: osx
dist: xenial
addons:
apt:
packages:
- libxml2-dev
- libglib2.0-dev
- intltool
- gtk-doc-tools
- libusb-1.0-0-dev
- libaudit-dev
- ninja-build
- python3-pip
- python3-dev
- gobject-introspection
update: true
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ninja intltool; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew link --force gettext ; fi
- sudo pip3 install --upgrade pip
- sudo pip3 install setuptools
- sudo pip3 install 'meson==0.47'
script:
- meson build
- cd build
- meson configure
- ninja
- meson test --no-suite="network"
- if [[ "$TRAVIS_OS_NAME" != "osx" ]]; then meson test --suite="network" ; fi