-
Notifications
You must be signed in to change notification settings - Fork 7
/
.travis.yml
43 lines (34 loc) · 864 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
branches:
only:
- master
language: c
os: linux
dist: xenial
compiler:
- clang
- gcc
env:
- GTK=gtk2
- GTK=gtk3
before_install:
- sudo apt-get update -qq
- sudo apt-get -y install -t xenial-backports ninja-build
install:
- sudo apt-get -qq install
python3 python3-pip python3-setuptools python3-wheel
libcairo2-dev libcairo-gobject2
libgtk2.0-dev libgtk-3-dev gtk-doc-tools
- sudo pip install cpp-coveralls
- sudo pip3 install 'meson<0.57'
script:
- meson -Db_coverage=true -Dgtk=$GTK build &&
meson compile -C build &&
meson test -C build
after_success:
- if [ "$CC" = "gcc" ]; then
coveralls -x c -e demo -e src/tests -e src/cpml/tests -e src/adg/tests --gcov-options '\-lp';
fi
notifications:
email:
recipients:
- ntd@entidi.it