forked from HOST-Oman/libraqm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (36 loc) · 1.05 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
43
sudo: required # needed for trusty beta
dist: trusty # needed for HarfBuzz
os:
- linux
- osx
language: c
compiler:
- gcc
- clang
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo add-apt-repository ppa:as-bahanta/raqm -y;
sudo apt-get update -qq;
sudo apt-get install -y libfreetype6-dev libharfbuzz-dev libfribidi-dev libglib2.0-dev gtk-doc-tools;
fi
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then
brew update;
brew uninstall libtool && brew install libtool;
brew install freetype harfbuzz fribidi glib gtk-doc;
export XML_CATALOG_FILES="/usr/local/etc/xml/catalog";
fi;
- if [ "${TRAVIS_OS_NAME}" == "osx" -a "${CC}" == "gcc" ]; then export CC=gcc-4.8; fi
script:
- ./autogen.sh
- ./configure --enable-gtk-doc
- make
- make check
- make distcheck
after_success:
- if [ "$TRAVIS_OS_NAME" == "linux" -a "$CC" == "gcc" -a "$TRAVIS_SECURE_ENV_VARS" == "true" ];
then bash .ci/deploy-docs.sh;
fi
notifications:
email:
recipients:
- host-oman@googlegroups.com