-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.travis.yml
60 lines (53 loc) · 1.48 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
language: haxe
haxe:
- "3.2.1"
- development
# TravisCI by default run on linux.
# Let's enable both linux and mac builds because why not?
os:
- linux
- osx
matrix:
# Allow Haxe development to fail.
allow_failures:
- haxe: development
notifications:
email: false
addons:
# This is the preferred way to install apt packages.
# However, it only allow some but not all packages.
# Alternatively, we can use `sudo apt-get install ...` in the `install:` section.
# http://docs.travis-ci.com/user/apt/#Adding-APT-Packages
apt:
packages:
# Python
- python3
# PHP
- php5-cli
# C#
- mono-devel
- mono-mcs
install:
- if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
export DISPLAY=:99.0;
export AUDIODEV=null;
elif [ "${TRAVIS_OS_NAME}" = "osx" ]; then
brew update;
brew install mono;
brew install phantomjs;
brew install python3;
fi
- haxelib install hxcpp
- haxelib install hxjava
- haxelib install hxcs
- haxelib list
script:
- haxe test-interp.hxml
- haxe test-neko.hxml && neko bin/HxVerbalExpressions.n
- haxe test-js.hxml && node bin/HxVerbalExpressions.js
- haxe test-java.hxml && java -jar bin/Test.jar
- haxe test-php.hxml && php bin/index.php
- haxe test-cs.hxml && mono bin/bin/Test.exe
- haxe test-swf.hxml
- haxe test-cpp.hxml && ./bin/Test
- haxe test-python.hxml && python3 bin/HxVerbalExpressions.py