-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
34 lines (25 loc) · 1.05 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
language: haxe
env:
matrix:
- TARGET=neko
- TARGET=js
- TARGET=cpp
haxe:
- development # the latest build of the development branch in http://build.haxe.org/
- stable
before_script:
- mkdir ~/haxelib
- haxelib setup ~/haxelib
- haxelib install colyseus-websocket
- haxelib install hx3compat
- sh -c "if [ '$TARGET' = 'cpp' ]; then sudo apt-get install gcc-multilib g++-multilib -y; fi"
- sh -c "if [ '$TARGET' = 'cpp' ]; then haxelib install hxcpp; fi"
- sh -c "if [ '$TARGET' = 'js' ]; then sudo apt-get install curl; fi"
- sh -c "if [ '$TARGET' = 'js' ]; then curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -; fi"
- sh -c "if [ '$TARGET' = 'js' ]; then sudo apt-get install nodejs; fi"
- sh -c "if [ '$TARGET' = 'cs' ]; then sudo apt-get install mono-complete; fi"
- sh -c "if [ '$TARGET' = 'cs' ]; then haxelib install hxcs; fi"
- sh -c "if [ '$TARGET' = 'java' ]; then haxelib install hxjava; fi"
- sh -c "if [ '$TARGET' = 'node' ]; then haxelib install hxnodejs; fi"
hxml:
- hxml/test.${TARGET}.hxml