/
.travis.yml
39 lines (35 loc) · 1.38 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
language: java
env:
- TARGET=flash
- TARGET=neko
- TARGET=html5
- TARGET=munit
matrix:
allow_failures:
- env: "TARGET=html5"
before_install:
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y
- sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch
- mkdir ~/haxelib
- haxelib -notimeout setup ~/haxelib
- haxelib -notimeout install munit
- haxelib -notimeout install lime > /dev/null
- haxelib -notimeout run lime install openfl > /dev/null
- haxelib -notimeout install systools
- haxelib git spinehaxe https://github.com/bendmorris/spinehaxe
- haxelib -notimeout install nape
- haxelib -notimeout install task
- haxelib -notimeout install hscript
- haxelib -notimeout install poly2trihx
- haxelib git openfl-bitfive https://github.com/YellowAfterlife/openfl-bitfive
- haxelib git firetongue https://github.com/larsiusprime/firetongue
- haxelib git flixel-tools https://github.com/HaxeFlixel/flixel-tools
- haxelib git flixel-demos https://github.com/HaxeFlixel/flixel-demos dev
- haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons dev
- haxelib git flixel-ui https://github.com/HaxeFlixel/flixel-ui dev
- haxelib dev flixel .
script:
- cd ./tests
- /bin/sh -c '[ $TARGET = "munit" ] && haxe test.hxml || haxelib run flixel-tools testdemos -$TARGET'