-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (37 loc) · 1.21 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
# example travis.yml haxe configuration
language: c # change this to objective-c to test on a mac machine
env:
matrix:
# basic tests
- TARGET=interp
# haxe releases
# - TARGET=interp HAXE_VER=3.2.0
- TARGET=interp HAXE_VER=3.1.3
- TARGET=interp HAXE_VER=v3.1.0
# haxe targets
- TARGET=neko
- TARGET=js TOOLCHAIN=default
- TARGET=java
- TARGET=cs
- TARGET=cpp
- TARGET=cpp ARCH=i686
- TARGET=python
- TARGET=php
- TARGET=swf
matrix:
fast_finish: true
allow_failures:
# - env: TARGET=interp HAXE_VER=3.1.3
# - env: TARGET=interp HAXE_VER=v3.1.0
- env: TARGET=cpp ARCH=i686
before_install: # clone travis-hx repo
- travis_retry git clone --depth=50 --branch=master git://github.com/jonasmalacofilho/travis-hx.git ~/travis-hx
install: # setup the target
- ~/travis-hx/setup.sh
- haxelib install utest
script:
- cd $TRAVIS_BUILD_DIR
# build the target. This will call haxe with the HXFLAGS and HXFLAGS_EXTRA environment variables
- HXFLAGS="-main DHeapTests -cp tests -cp lib -lib utest" ~/travis-hx/build.sh
# run the tests
- ~/travis-hx/runtests.sh $FILENAME # this will set the $FILENAME defined on the environment variable to run the tests