-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
74 lines (67 loc) · 2.62 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
sudo: required
dist: trusty
language: haxe
# haxe versions : http://haxe.org/website-content/downloads/versions.json
haxe:
- "3.4.0"
- development
matrix:
allow_failures:
- haxe: development
before_install:
- echo $TRAVIS_BRANCH
- if [[ "$TRAVIS_BRANCH" != "master" ]]; then export DEPENDENCIES_BRANCH=develop; else export DEPENDENCIES_BRANCH=master; fi
- echo $TRAVIS_TAG
- if [[ "$TRAVIS_TAG" != "" ]]; then export DEPENDENCIES_BRANCH=$TRAVIS_TAG; fi
- echo $DEPENDENCIES_BRANCH
- sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list" "/opt/google/chrome/cron/google-chrome"
- sudo dpkg --add-architecture i386
- sudo apt-get update
- sudo apt-get install -qq libcurl3:i386
- sudo apt-get install -qq libglib2.0-0:i386
- sudo apt-get install -qq libx11-6:i386
- sudo apt-get install -qq libxext6:i386
- sudo apt-get install -qq libxt6:i386
- sudo apt-get install -qq libxcursor1:i386
- sudo apt-get install -qq libnss3:i386
- sudo apt-get install -qq libgtk2.0-0:i386
install:
- haxelib newrepo
#hexLog
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexLog.git ./hexlog
- haxelib dev hexlog ./hexlog
#hexCore
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexCore.git ./hexcore
- haxelib dev hexcore ./hexcore
#hexUnit
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexUnit.git ./hexunit
- haxelib dev hexunit ./hexunit
#hexReflection
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexReflection.git ./hexreflection
- haxelib dev hexreflection ./hexreflection
#hexAnnotation
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexAnnotation.git ./hexannotation
- haxelib dev hexannotation ./hexannotation
#hexInject
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexInject.git ./hexinject
- haxelib dev hexinject ./hexinject
#tink_macro
- haxelib install tink_macro 0.16.1
#hexMVC
- git clone --recursive -b $DEPENDENCIES_BRANCH https://github.com/DoclerLabs/hexMVC.git ./hexmvc
- haxelib dev hexmvc ./hexmvc
- haxelib dev hexstate .
- export DISPLAY=:99.0;
- export AUDIODEV=null;
- haxe flash/install.hxml
script:
- haxe build-php.hxml && php bin/index.php
- haxe build-neko.hxml && neko bin/MainTest.n
- haxe build-js.hxml && node bin/MainTest.js
- haxe build-flash.hxml -D fdb && haxe flash/run.hxml bin/MainTest.swf
notifications:
email:
recipients:
- francis_bourre@me.com
- peterphonix@gmail.com
- laurent@geturl.net