forked from owfs/owfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (47 loc) · 1020 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
53
54
55
56
57
58
#
# Travis CI configuration
#
# - Linux: the Travis PHP installation does not work with swig3
# we install the standard bionic package php7.2 and direct
# config to use with the configure options listed in $CONFOPTS
# - osx: disabled (due to very slow compilation and python2 problems)
# - osx: we use the homebrew php. Note that on osx 'compiler: gcc' is
# an alias for 'compiler: clang'. Therefore we build only with clang.
#
language: c
dist: bionic
compiler:
- clang
- gcc
os:
- linux
env: CONFOPTS="--with-phpconfig=/usr/bin/php-config7.2 --with-php=/usr/bin/php7.2"
# Darwin is disabled
# jobs:
# include:
# - os: osx
# env:
addons:
apt:
packages:
- check
- libavahi-client-dev
- libftdi-dev
- libfuse-dev
- libusb-1.0-0-dev
- php7.2-dev
- swig3.0
- uthash-dev
# Darwin is disabled
# homebrew:
# packages:
# - check
# - php
# - swig
# update: true
before_script:
- ./bootstrap
script:
- ./configure ${CONFOPTS}
- make
- make check