forked from debrouxl/tilibs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
43 lines (38 loc) · 1.63 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
36
37
38
39
40
41
42
language: c
matrix:
include:
- os: linux
dist: trusty
sudo: required
- os: osx
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm get head ; brew update ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq ; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install gettext libarchive libtool glib libusb bison flex texinfo libiconv intltool ; brew link --force gettext libarchive ; fi
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq build-essential git autoconf automake autopoint libtool libglib2.0-dev zlib1g-dev libusb-1.0-0-dev gettext bison flex groff texinfo libarchive-dev ; fi
script:
- mkdir prefix
- cd libticonv/trunk
- mkdir m4; autoreconf -ivf
- ./configure --prefix=`pwd`/../../prefix --enable-iconv
- make -j4 check
- make -j4 install
- cd ../../libtifiles/trunk
- mkdir m4; autoreconf -ivf
- cd po; make libtifiles2.pot-update; make update-po; cd ..
- ./configure --prefix=`pwd`/../../prefix PKG_CONFIG_PATH=`pwd`/../../prefix/lib/pkgconfig
- make -j4 check
- make -j4 install
- cd ../../libticables/trunk
- mkdir m4; autoreconf -ivf
- cd po; make libticables2.pot-update; make update-po; cd ..
- ./configure --prefix=`pwd`/../../prefix --enable-logging --enable-libusb10 PKG_CONFIG_PATH=`pwd`/../../prefix/lib/pkgconfig
- make -j4 check
- make -j4 install
- cd ../../libticalcs/trunk
- mkdir m4; autoreconf -ivf
- cd po; make libticalcs2.pot-update; make update-po; cd ..
- ./configure --prefix=`pwd`/../../prefix PKG_CONFIG_PATH=`pwd`/../../prefix/lib/pkgconfig
- make -j4 check
- make -j4 install