forked from proletariatgames/hxcpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
53 lines (49 loc) · 1.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
language: cpp
sudo: required
env:
global:
- HXCPP_COMPILE_CACHE=~/hxcache
matrix:
include:
- os: linux
dist: trusty
env:
- ARCH=32
install:
- bash tools/haxe/build_linux.sh
- travis_retry sudo apt-get install gcc-multilib g++-multilib -y;
- os: linux
dist: trusty
env:
- ARCH=64
install:
- bash tools/haxe/build_linux.sh
- os: osx
osx_image: xcode9.4
env:
- ARCH=32
install:
- bash tools/haxe/build_osx.sh;
- os: osx
osx_image: xcode9.4
env:
- ARCH=64
install:
- bash tools/haxe/build_osx.sh;
script:
- cd ${TRAVIS_BUILD_DIR}/tools/run
- haxe compile.hxml
- cd ${TRAVIS_BUILD_DIR}/tools/hxcpp
- haxe compile.hxml
- cd ${TRAVIS_BUILD_DIR}/project
- haxe compile-cppia.hxml
- cd ${TRAVIS_BUILD_DIR}/test
- haxe --run RunTests cffi
- haxe --run RunTests haxe
- haxe --run RunTests telemetry
- haxe --run RunTests std${ARCH}
- haxe --run RunTests debugger
- haxe --run RunTests native
- cd ~/haxe/tests/unit
- haxe compile-cpp.hxml -D HXCPP_M${ARCH} && ./bin/cpp/TestMain-debug
- haxe compile-cppia.hxml -debug && haxelib run hxcpp ./bin/unit.cppia