forked from HaxeFoundation/HaxeManual
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
93 lines (81 loc) · 2.49 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: haxe
sudo: false
matrix:
include:
- sudo: required
install:
- sudo apt-get install calibre -qq
- mkdir -p ~/Downloads
- cd ~/Downloads
# install fonts
- mkdir -p ~/.fonts
- wget https://github.com/adobe-fonts/source-code-pro/archive/2.010R-ro/1.030R-it.zip
- unzip 1.030R-it.zip
- cp source-code-pro-2.010R-ro-1.030R-it/OTF/*.otf ~/.fonts/
- wget https://github.com/adobe-fonts/source-sans-pro/archive/2.010R-ro/1.065R-it.zip
- unzip 1.065R-it.zip
- cp source-sans-pro-2.010R-ro-1.065R-it/OTF/*.otf ~/.fonts/
- fc-cache -f -v
# texlive
- sudo add-apt-repository ppa:texlive-backports/ppa -y
- sudo apt-get update
- sudo apt-get install texlive-xetex texlive-latex-extra -y
# pandoc
- wget https://github.com/jgm/pandoc/releases/download/1.15.0.6/pandoc-1.15.0.6-1-amd64.deb
- sudo dpkg -i pandoc-1.15.0.6-1-amd64.deb
# mupdf
- curl -s -L --retry 3 http://mupdf.com/downloads/archive/mupdf-1.7a-source.tar.gz | tar -C . -x -z -f -
- cd mupdf-1.7a-source
- make HAVE_X11=no
- sudo make HAVE_X11=no install
# haxelibs
- haxelib git hxargs https://github.com/Simn/hxargs.git
- haxelib git hxparse https://github.com/Simn/hxparse.git
- cd $TRAVIS_BUILD_DIR
script:
- cd convert
- haxe convert.hxml -D recompileEnv
- env: TARGET=swf
haxe: 3.2.0
- env: TARGET=swf
haxe: development
- env: TARGET=as3
haxe: 3.2.0
- env: TARGET=as3
haxe: development
- env: TARGET=js
haxe: 3.2.0
- env: TARGET=js
haxe: development
- env: TARGET=neko
haxe: 3.2.0
- env: TARGET=neko
haxe: development
- env: TARGET=cpp
haxe: 3.2.0
- env: TARGET=cpp
haxe: development
- env: TARGET=cs
haxe: 3.2.0
addons: {apt: {packages: [mono-devel, mono-mcs]}}
- env: TARGET=cs
haxe: development
addons: {apt: {packages: [mono-devel, mono-mcs]}}
- env: TARGET=java
haxe: 3.2.0
- env: TARGET=java
haxe: development
- env: TARGET=python
haxe: 3.2.0
- env: TARGET=python
haxe: development
install:
- haxelib install hxcpp > /dev/null
- haxelib install hxcs > /dev/null
- haxelib install hxjava > /dev/null
- haxelib install random > /dev/null
- haxelib list
script:
- cd ./tests
- haxe RunTravis.hxml
- neko RunTravis.n $TARGET