-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
77 lines (68 loc) · 2.22 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
sudo: required
dist: xenial
language: haxe
os:
- linux
# haxe versions : http://haxe.org/website-content/downloads/versions.json
haxe:
- "3.4.7"
- development
env:
- HAXE_TARGET=cpp
#- HAXE_TARGET=cs
- HAXE_TARGET=flash
#- HAXE_TARGET=lua
- HAXE_TARGET=neko
- HAXE_TARGET=node
- HAXE_TARGET=php
- HAXE_TARGET=php7
#- HAXE_TARGET=python
- HAXE_TARGET=js
#- HAXE_TARGET=java
- HAXE_TARGET=hl
matrix:
fast_finish: true
allow_failures:
- haxe: development
- env: HAXE_TARGET=flash # cannot trust that guy
- env: HAXE_TARGET=cpp # Not supported yet
- env: HAXE_TARGET=cs # Not supported yet
- env: HAXE_TARGET=lua # Not supported yet
- env: HAXE_TARGET=python # Not supported yet
- env: HAXE_TARGET=java # Not supported yet
- env: HAXE_TARGET=hl # Not supported yet
exclude:
- haxe: "3.4.7"
env: HAXE_TARGET=hl
before_install:
- echo $TRAVIS_BRANCH
- export DEPENDENCIES_BRANCH=$TRAVIS_BRANCH
- echo $TRAVIS_TAG
- if [[ "$TRAVIS_TAG" != "" ]]; then export DEPENDENCIES_BRANCH=$TRAVIS_TAG; fi
- echo $DEPENDENCIES_BRANCH
install:
- nvm install 8
- export BRANCH_REF=$DEPENDENCIES_BRANCH
- haxelib install travix --always
# hexCore
- if [ $( git ls-remote https://github.com/DoclerLabs/hexCore.git $BRANCH_REF --heads | wc -l ) == "0" ]; then export DEPENDENCIES_BRANCH=master; else export DEPENDENCIES_BRANCH=$BRANCH_REF; fi
- echo Checking out $DEPENDENCIES_BRANCH
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexCore.git ./hexcore
- haxelib install ./hexcore/haxelib.json --always
- haxelib dev hexcore ./hexcore
# hexUnit
- if [ $( git ls-remote https://github.com/DoclerLabs/hexUnit.git $BRANCH_REF --heads | wc -l ) == "0" ]; then export DEPENDENCIES_BRANCH=master; else export DEPENDENCIES_BRANCH=$BRANCH_REF; fi
- echo Checking out $DEPENDENCIES_BRANCH
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexUnit.git ./hexunit
- haxelib dev hexunit ./hexunit
# hexLog
- haxelib dev hexlog .
- haxelib path hexlog
script:
- haxelib run travix $HAXE_TARGET
notifications:
email:
recipients: