forked from waneck/openfl-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (27 loc) · 1.22 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
language: c++
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"
- "export AUDIODEV=null"
- sudo apt-get install python-software-properties -y
- sudo add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
- sudo apt-get install haxe -y --force-yes
- sudo apt-get install g++-multilib gcc-multilib
- sudo apt-get install mesa-common-dev libgl1-mesa-dev libglu1-mesa-dev -y
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib git openfl https://github.com/openfl/openfl
- haxelib git hxtools https://github.com/openfl/hxtools
- haxelib git hxlibc https://github.com/openfl/hxlibc
- haxelib git openfl-native-dev https://github.com/openfl/openfl-native-dev
- haxelib install munit
- haxelib install format
- haxelib install svg
- git clone https://github.com/openfl/openfl-validation ~/openfl-validation
- haxelib dev openfl-native $(pwd)
script:
- haxelib run openfl rebuild linux,tools
- haxelib run openfl test ~/openfl-validation linux
#- haxelib run openfl test ~/openfl-validation neko