forked from nfroidure/gulp-iconfont
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
executable file
·51 lines (45 loc) · 1.57 KB
/
Copy path.travis.yml
File metadata and controls
executable file
·51 lines (45 loc) · 1.57 KB
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
language: node_js
dist: trusty
node_js:
- 6
- 8
- 9
- 10
- 11
- 12
sudo: false
addons:
apt:
sources:
# We need this line to have g++4.8 available in apt
- ubuntu-toolchain-r-test
packages:
- gcc-4.8
- g++-4.8
- wget
- build-essential
- pkg-config
- qt4-qmake
- libqt4-dev
before_install:
- git clone https://github.com/nfroidure/woff2.git
# We want to compile with g++ 4.8 when rather than the default g++
- (cd woff2 && export CC=/usr/bin/gcc-4.8 && export CXX=/usr/bin/g++-4.8 && git submodule init && git submodule update && make clean all)
- export PATH=$PATH:$(pwd)/woff2
- pushd tests/ttfautohint
- ROOT_DIR="$PWD"
- export PKG_CONFIG_PATH="$ROOT_DIR/lib/pkgconfig"
- wget http://download.savannah.gnu.org/releases/freetype/freetype-2.6.3.tar.bz2
- tar xjf freetype-2.6.3.tar.bz2
- (cd freetype-2.6.3 && ./configure --prefix="$ROOT_DIR" --without-harfbuzz && make install && make distclean)
- wget https://www.freedesktop.org/software/harfbuzz/release/harfbuzz-1.2.7.tar.bz2
- tar xjf harfbuzz-1.2.7.tar.bz2
- (cd harfbuzz-1.2.7 && ./configure --prefix="$ROOT_DIR" && make install)
- (cd freetype-2.6.3 && ./configure --prefix="$ROOT_DIR" && make install)
- wget http://downloads.sourceforge.net/project/freetype/ttfautohint/1.5/ttfautohint-1.5.tar.gz
- tar xzf ttfautohint-1.5.tar.gz
- (cd ttfautohint-1.5 && ./configure --prefix="$ROOT_DIR" && make install)
- popd
- export PATH="$PATH:$ROOT_DIR/bin"
- export LD_LIBRARY_PATH="$ROOT_DIR/lib:$LD_LIBRARY_PATH"
script: npm test