Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit b8a3bfe

Browse files
travis
1 parent d3c7180 commit b8a3bfe

File tree

2 files changed

+16
-43
lines changed

2 files changed

+16
-43
lines changed

.travis.yml

Lines changed: 15 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,40 @@
1-
# example travis.yml haxe configuration
21
language: c # change this to objective-c to test on a mac machine
32
sudo: required
43
env:
5-
# HAXE_VER:
6-
# - unset/empty or "latest": get latest from hxbuilds
7-
# - 3.1.3 or 3.1.2: get them from hxbuilds
8-
# - other: build from git
94
global:
10-
# - OS=mac # add this too to let the script know that the OS is a mac
11-
# - ARCH=i686 # add this to run in 32-bit mode. See availability at README
12-
# SAUCE_ACCESS_KEY
13-
- secure: "YOUR_ENCRYPTED_SAUCE_ACCESS_KEY" # if you want to use SauceLabs
14-
# SAUCE_USERNAME
15-
- secure: "YOUR_ENCRYPTED_SAUCE_USERNAME" # if you want to use SauceLabs
5+
- HAXE_VER=3.2.1
166
matrix:
177
- TARGET=neko
18-
# optional: FILENAME
19-
#- TARGET=interp
20-
# - TARGET=macro
21-
# # optional: MACROFLAGS: specify the flags that are unique to building/running with --macro arguments
22-
# - TARGET=js TOOLCHAIN=default # target is tested by node.js
23-
# # optional: FILENAME
24-
# # optional: NODECMD: set the command to be run by nodejs
25-
# - TARGET=js TOOLCHAIN=browser # target is tested by browsers / phantomjs
26-
# # optional: FILENAME
27-
# # optional: SAUCE_BROWSERS: specify the .json file that specifies the SauceLabs browsers to test. Defaults to `.sauce-browsers.json`
28-
# #- TARGET=php
29-
# # optional: FILENAME
30-
# - TARGET=cpp
31-
# # optional: FILENAME
32-
# - TARGET=swf
33-
# # optional: FILENAME
34-
# - TARGET=as3
35-
# # optional: FILENAME
36-
# - TARGET=java
37-
# # optional: FILENAME
38-
# - TARGET=cs
39-
# # optional: FILENAME
40-
# - TARGET=python
41-
# # optional: FILENAME
42-
# # optional: PYTHONCMD
8+
- TARGET=cpp
9+
- TARGET=java
10+
- TARGET=cs
11+
- TARGET=python
12+
- TARGET=swf
13+
- TARGET=js TOOLCHAIN=default
14+
#- TARGET=js TOOLCHAIN=browser
15+
#- TARGET=php
4316

4417
matrix:
4518
fast_finish: true
4619
allow_failures:
4720
- env: SOME_ENV_HERE=some_opt
4821

49-
before_install: # clone travis-hx repo
22+
before_install:
5023
- travis_retry git clone --depth=50 --branch=master git://github.com/waneck/travis-hx.git ~/travis-hx
5124

52-
install: # setup the target
25+
install:
5326
- ~/travis-hx/setup.sh
54-
- travis_retry haxelib git hunit https://github.com/RealyUniqueName/HUnit master
27+
- travis_retry haxelib git hunit https://github.com/RealyUniqueName/HUnit travis
5528
- travis_retry mkdir empty
5629
- travis_retry haxelib dev stablexui-core empty
57-
- travis_retry git clone https://github.com/StablexUI/Tests
30+
- travis_retry git clone -b travis https://github.com/StablexUI/Tests
5831
- travis_retry haxelib dev stablexui-tests Tests
32+
- travis_retry ls -la Tests
33+
- travis_retry haxelib list stablexui-tests
5934
- travis_retry git clone https://github.com/StablexUI/Dummy.git
6035
- travis_retry haxelib dev stablexui-dummy Dummy
6136

6237
script:
6338
- cd $TRAVIS_BUILD_DIR
64-
# build the target. This will call haxe with the HXFLAGS and HXFLAGS_EXTRA environment variables
6539
- HXFLAGS="-cp src -lib stablexui-dummy -lib stablexui-tests -D HXCPP_STACK_TRACE" ~/travis-hx/build.sh
66-
# run the tests
6740
- ~/travis-hx/runtests.sh $FILENAME # this will set the $FILENAME defined on the environment variable to run the tests

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
StablexUI
1+
StablexUI [![Build Status](https://travis-ci.org/StablexUI/Core.svg)](https://travis-ci.org/StablexUI/Core)
22
======================
33

44
TBD

0 commit comments

Comments
 (0)