forked from eugmes/fntsample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (47 loc) · 831 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
language: c
dist: bionic
os:
- linux
- osx
compiler:
- gcc
- clang
addons:
apt:
packages:
- libcairo2-dev
- unicode-data
- libglib2.0-dev
- pkg-config
- libfreetype6-dev
- libpango1.0-dev
- gettext
- cmake
homebrew:
packages:
- cmake
- pkg-config
- gettext
- cairo
- pango
- fontconfig
- freetype
- glib
update: true
before_script:
- '
if [ $TRAVIS_OS_NAME = osx ]; then
export CMAKE_PREFIX_PATH="/usr/local/opt/gettext" ;
export UNICODE_BLOCKS_ARG=-DCHECK_UNICODE_CERT=OFF ;
else
export UNICODE_BLOCKS_ARG=-DUNICODE_BLOCKS=/usr/share/unicode/Blocks.txt ;
fi
'
script:
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release ${UNICODE_BLOCKS_ARG} ..
- make VERBOSE=1
- ./src/fntsample --help
- make package
- tar tzf fntsample-*.tar.gz