-
Notifications
You must be signed in to change notification settings - Fork 59
/
.travis.yml
98 lines (91 loc) · 1.96 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
94
95
96
97
98
language: haxe
os:
- linux
- osx
sudo: false
dist: trusty
env:
global:
- ENCRYPTION_LABEL: "a6ef887d3fba"
- COMMIT_AUTHOR_EMAIL: "[email protected]"
haxe:
- "3.4.7"
- development
addons:
apt:
packages:
# Python
- python3
# C#
- mono-devel
- mono-mcs
# Flash
- libglib2.0
- libfreetype6
# C++
- gcc-multilib
- g++-multilib
install:
# os-specific config
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
export DISPLAY=:99.0;
export AUDIODEV=null;
phpenv global 7.0;
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update;
brew install mono;
brew upgrade python;
brew install php;
fi
# Download and setup a standalone flash player debugger
- haxe flash/install.hxml
# Install haxelibs
- if [ "${TRAVIS_HAXE_VERSION}" = "development" ]; then
haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git;
pushd $(haxelib path hxcpp | head -1);
pushd tools/hxcpp; haxe compile.hxml; popd;
pushd project; neko build.n; popd;
popd;
else
haxelib install hxcpp;
fi
- haxelib install hxjava
- haxelib install hxcs
- haxelib install dox
- haxelib install hx3compat
- haxelib list
script:
- pushd tests/all
- haxe all.hxml
- popd
- pushd tests/bmp
- haxe project.hxml
- neko bin/tests.n
- bin/cpp/Tests
- php bin/php/index.php
- node bin/tests.js
- pushd ../..; haxe flash/run.hxml tests/bmp/bin/tests.swf; popd;
- java -jar bin/java/Tests.jar
- mono bin/cs/bin/Tests.exe
- popd
- pushd tests/elf
- haxe elf.hxml
- neko bin/elf.n
- popd
- pushd tests/gif
- haxe project.hxml
- popd
- pushd tests/mp3
- haxe build.hxml
- popd
- pushd tests/pdf
- haxe project.hxml
- popd
- pushd tests/png
- haxe project.hxml
- popd
- pushd tests/swf
- haxe project.hxml
- neko bin/test bin/fibasm.swf
- popd
- bash doc-deploy.sh