forked from HaxePunk/HaxePunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
27 lines (24 loc) · 877 Bytes
/
.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
language: java
env: LD_LIBRARY_PATH=/usr/lib/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/file/haxe-3.1.0-linux64.tar.gz | tar xzf -
- sudo mv build /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
# Download dependencies
- haxelib dev HaxePunk $TRAVIS_BUILD_DIR
- ant tools
- echo "y" | haxelib run HaxePunk setup
script:
- ant clean build unit-travis