forked from openfl/openfl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (46 loc) · 1.7 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: 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 add-apt-repository ppa:eyecreate/haxe -y
- sudo apt-get update
install:
- 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
- git clone --recursive https://github.com/openfl/lime ~/lime --depth 1
- haxelib dev lime ~/lime
- haxelib install hxcpp
- haxelib install format
- git clone https://github.com/openfl/dox ~/dox --depth 1
- haxelib dev dox ~/dox
- haxelib install mcover
- git clone https://github.com/jgranick/MassiveUnit ~/munit --depth 1
- haxelib dev munit ~/munit/src
- haxelib dev openfl $(pwd)
- cd ~/munit/tool
- haxe build.hxml
- haxelib run lime rebuild linux -release -64 -nocffi
- haxelib run lime rebuild linux -release -64 -Dlegacy -nocffi
- haxelib run lime rebuild tools
before_script:
- cd $TRAVIS_BUILD_DIR/tests
- haxelib run munit gen
script:
#- haxelib run lime test neko
#- haxelib run lime test neko -Ddisable-cffi
- haxelib run lime build neko
- haxelib run lime build neko -Ddisable-cffi
- haxelib run lime test neko -Dlegacy
- haxelib run munit test -as3 -norun
- haxelib run munit test -browser phantomjs
- haxelib run lime test linux
- haxelib run lime test linux -Dlegacy
- cd $TRAVIS_BUILD_DIR/docs
- haxe build.hxml
notifications:
slack: openfl:sBwVO0kgB7EuWLYzZzUezVIz