-
Notifications
You must be signed in to change notification settings - Fork 43
/
.travis.yml
executable file
·39 lines (35 loc) · 1.4 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
sudo: true
env:
- LD_LIBRARY_PATH=/usr/lib/neko
matrix:
allow_failures:
- env: "TARGET=neko"
before_install:
- sudo apt-get install libgc1c2
# Install neko 2.0
- curl http://nekovm.org/_media/neko-2.0.0-linux64.tar.gz | tar xzf -
- sudo mv neko-2.0.0-linux /usr/lib/neko
- sudo cp /usr/lib/neko/neko /usr/bin/neko
- sudo cp /usr/lib/neko/nekoc /usr/bin/nekoc
- sudo cp /usr/lib/neko/nekotools /usr/bin/nekotools
# Install haxe 3.1 (thanks to openfl install script)
- curl http://haxe.org/website-content/downloads/3.2.1/downloads/haxe-3.2.1-linux64.tar.gz | tar xzf -
- sudo mv haxe-3.2.1 /usr/lib/haxe
- sudo ln -s /usr/lib/haxe/haxe /usr/bin/haxe
- sudo ln -s /usr/lib/haxe/haxelib /usr/bin/haxelib
# Setup haxelib
- mkdir -p ~/haxelib
- haxelib setup ~/haxelib
- haxelib -notimeout install swf
- haxelib -notimeout install lime 2.7.0
- haxelib -notimeout install openfl 3.4.0
- haxelib -notimeout install poly2trihx
- haxelib -notimeout git snow https://github.com/underscorediscovery/snow.git
- haxelib -notimeout git oimohx https://github.com/babylonhx/OimoHx.git
- haxelib -notimeout git msgpack https://github.com/aaulia/msgpack-haxe.git
- haxelib -notimeout git babylonhx https://github.com/babylonhx/BabylonHx_2.0.git
- sudo ln -s /home/travis/haxelib/oimohx/git/ /home/travis/haxelib/babylonhx/git/oimohx
script:
- cd ./ci
- haxe compile.hxml