forked from AravisProject/aravis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (45 loc) · 974 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
49
50
51
52
os:
- linux
- osx
arch:
- amd64
- ppc64le
language: c
osx_image: xcode12.2
compiler:
- gcc
- clang
jobs:
allow_failures:
dist: bionic
addons:
apt:
packages:
- libxml2-dev
- libglib2.0-dev
- intltool
- gtk-doc-tools
- libusb-1.0-0-dev
- libaudit-dev
- python3-pip
- python3-dev
- ninja-build
- gobject-introspection
- valgrind
update: true
homebrew:
packages:
- intltool
update: true
before_install:
- sudo pip3 install --upgrade setuptools pip==20.3.4
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo pip3 install ninja ; fi
- 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
- if [[ "$TRAVIS_CPU_ARCH" != "ppc64le" && "$TRAVIS_OS_NAME" != "osx" ]]; then ../tests/valgrind-memcheck ; fi