forked from AlexHaxe/hxL8
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 1018 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
28
29
30
31
32
33
34
35
36
37
git:
depth: 1
language: haxe
os:
- linux
# - osx
haxe:
- "3.4.7"
- development
install:
- haxelib git hxcpp https://github.com/HaxeFoundation/hxcpp.git
- (cd ~/haxe/lib/hxcpp/git/tools/hxcpp; haxe compile.hxml)
- (cd ~/haxe/lib/hxcpp/git/tools/build; haxe compile.hxml)
- (cd ~/haxe/lib/hxcpp/git/tools/run; haxe compile.hxml)
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then (cd ~/haxe/lib/hxcpp/git/project; neko build.n static-linux-m64); fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then (cd ~/haxe/lib/hxcpp/git/project; neko build.n static-mac-m64); fi
- haxelib install hxjava
- haxelib install hxlode
- haxelib install hxSerial
- haxelib install nodejs
- haxelib install checkstyle
- haxelib list
script:
- haxelib run checkstyle -c checkstyle.json -s src
- mkdir -p outNodeJS
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then haxe buildTravis.hxml; fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then haxe buildMacTravis.hxml; fi
matrix:
allow_failures:
- haxe: development