forked from HaxePunk/HaxePunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
65 lines (56 loc) · 1.71 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
language: haxe
haxe:
- 3.4.2
matrix:
allow_failures:
- haxe: development
fast_finish: true
env:
global:
- HXCPP=3.4.49
matrix:
- TEST=no-backend
- TEST=nme NME=5.7.1
- TEST=openfl3 OPENFL=3.6.1 LIME=2.9.1 DOCS=1
- TEST=openfl4 OPENFL=4.6.0 LIME=3.6.2 DOCS=1
- TEST=openfl5 OPENFL=5.0.0 LIME=4.1.0
- TEST=openfl7 OPENFL=7.0.0 LIME=6.0.1
- TEST=openfl8 OPENFL=8.0.0 LIME=6.3.0
sudo: false
install:
- yes | haxelib install hxcpp $HXCPP > log.txt || cat log.txt
- if [[ $TEST ]]; then
yes | haxelib git munit https://github.com/massiveinteractive/MassiveUnit.git master src > log.txt || cat log.txt;
yes | haxelib git mlib https://github.com/massiveinteractive/mlib.git master src > log.txt || cat log.txt;
yes | haxelib install mcover > log.txt || cat log.txt;
yes | haxelib install hamcrest > log.txt || cat log.txt;
fi
- if [[ $LIME ]]; then yes | haxelib install lime $LIME > log.txt || cat log.txt; fi
- if [[ $OPENFL ]]; then yes | haxelib install openfl $OPENFL > log.txt || cat log.txt; fi
- if [[ $NME ]]; then yes | haxelib install nme $NME > log.txt || cat log.txt; fi
- yes | haxelib install dox > log.txt || cat log.txt
- haxelib dev HaxePunk $TRAVIS_BUILD_DIR
- haxelib list
script:
- export HXCPP_COMPILE_CACHE=~/.hxcpp_cache
- ./travis-build.sh
cache:
directories:
- $HOME/haxe/lib
notifications:
slack:
on_success: never
on_failure: never
rooms:
- openfl:sBwVO0kgB7EuWLYzZzUezVIz#haxepunk
webhooks:
urls:
- https://webhooks.gitter.im/e/b5256a55779b5e854b0a
on_success: change
on_failure: always
on_start: never
email:
on_success: change
on_failure: change
git:
depth: 1