forked from ueno/libkkc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (26 loc) · 1.03 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
language: c
env:
matrix:
- VALAC=valac-0.24
before_install:
- sudo pip install cpp-coveralls
install:
- if [ "$VALAC" = "valac-0.24" ]; then
sudo add-apt-repository -y ppa:vala-team &&
sudo apt-get update -qq &&
sudo apt-get install -qq autotools-dev gnome-common gobject-introspection intltool libgee-0.8-dev libgirepository1.0-dev libjson-glib-dev python-dev "$VALAC";
fi
script:
- wget https://marisa-trie.googlecode.com/files/marisa-0.2.4.tar.gz &&
tar xf marisa-0.2.4.tar.gz &&
(cd marisa-0.2.4 &&
./configure --prefix=$PWD/../install &&
make && make install &&
cd bindings/python &&
CFLAGS=-I$PWD/../../../install/include LDFLAGS=-L$PWD/../../../install/lib python setup.py build &&
python setup.py install --user)
- export PKG_CONFIG_PATH=$PWD/install/lib/pkgconfig
- export LD_LIBRARY_PATH=$PWD/install/lib
- ./autogen.sh --enable-code-coverage && make && touch po/libkkc.pot && make check
after_success:
- coveralls --exclude lib --exclude tests --gcov-options '\-lp'