forked from HaxeFlixel/flixel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (44 loc) · 1.55 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
language: haxe
haxe:
- 3.2.0
- development
env:
- TARGET=flash
- TARGET=neko
- TARGET=cpp
- TARGET=html5
sudo: false
addons:
apt:
packages:
- gcc-multilib
- g++-multilib
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- /sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x32 -extension GLX
install:
- haxelib install munit > /dev/null
- haxelib install hamcrest > /dev/null
- haxelib install lime 2.9.1 > /dev/null
- haxelib install openfl 3.6.1 > /dev/null
- haxelib install systools > /dev/null
- haxelib install nape > /dev/null
- haxelib install task > /dev/null
- haxelib install poly2trihx > /dev/null
- haxelib install spinehaxe > /dev/null
- haxelib git hscript https://github.com/HaxeFoundation/hscript > /dev/null
- haxelib git firetongue https://github.com/larsiusprime/firetongue > /dev/null
- haxelib git flixel-tools https://github.com/HaxeFlixel/flixel-tools > /dev/null
- haxelib git flixel-demos https://github.com/HaxeFlixel/flixel-demos dev > /dev/null
- haxelib git flixel-addons https://github.com/HaxeFlixel/flixel-addons dev > /dev/null
- haxelib git flixel-ui https://github.com/HaxeFlixel/flixel-ui dev > /dev/null
- haxelib dev flixel $TRAVIS_BUILD_DIR
- haxelib list
script:
- export HXCPP_COMPILE_CACHE=~/hxcache
- cd $HOME/haxe/lib/flixel-tools/git
- haxe build.hxml
- cd $TRAVIS_BUILD_DIR/tests
- haxe RunTravis.hxml
- neko RunTravis.n $TARGET