Fix travis CI again
This commit is contained in:
@@ -20,6 +20,8 @@ env:
|
|||||||
- KISS_PROJECT=aoc
|
- KISS_PROJECT=aoc
|
||||||
- KISS_PROJECT=asciilib2
|
- KISS_PROJECT=asciilib2
|
||||||
- KISS_PROJECT=file-watch
|
- KISS_PROJECT=file-watch
|
||||||
|
- KISS_PROJECT=flixel-ascii-game
|
||||||
|
- KISS_PROJECT=flixel-rpg-tutorial
|
||||||
- KISS_PROJECT=kiss-vscode
|
- KISS_PROJECT=kiss-vscode
|
||||||
- KISS_PROJECT=nat-archive-tool
|
- KISS_PROJECT=nat-archive-tool
|
||||||
- KISS_PROJECT=pdf-salad
|
- KISS_PROJECT=pdf-salad
|
||||||
|
|||||||
@@ -5,16 +5,3 @@ haxelib dev asciilib .
|
|||||||
# Run the headless unit tests:
|
# Run the headless unit tests:
|
||||||
echo "Running headless ASCIILib tests"
|
echo "Running headless ASCIILib tests"
|
||||||
(cd test && haxe build.hxml)
|
(cd test && haxe build.hxml)
|
||||||
|
|
||||||
# Make sure the examples with backends compile, at least:
|
|
||||||
|
|
||||||
# Flixel backend
|
|
||||||
EXAMPLE_DIRS=examples/flixel/**/
|
|
||||||
|
|
||||||
for EXAMPLE_DIR in $EXAMPLE_DIRS
|
|
||||||
do
|
|
||||||
echo "Building $EXAMPLE_DIR for html5"
|
|
||||||
(cd $EXAMPLE_DIR && haxelib run lime build html5)
|
|
||||||
echo "Building $EXAMPLE_DIR for cpp"
|
|
||||||
(cd $EXAMPLE_DIR && haxelib run lime build cpp)
|
|
||||||
done
|
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
<project>
|
<project>
|
||||||
<!-- _________________________ Application Settings _________________________ -->
|
<!-- _________________________ Application Settings _________________________ -->
|
||||||
|
|
||||||
<app title="death-trap" file="death-trap" main="Main" version="0.0.1" company="HaxeFlixel" />
|
<app title="flixel-ascii-game" file="flixel-ascii-game" main="Main" version="0.0.1" company="HaxeFlixel" />
|
||||||
|
|
||||||
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
|
<!--The flixel preloader is not accurate in Chrome. You can use it regularly if you embed the swf into a html file
|
||||||
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
|
or you can set the actual size of your file manually at "FlxPreloaderBase-onUpdate-bytesTotal"-->
|
||||||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
@@ -8,4 +8,4 @@ import asciilib.Game;
|
|||||||
import kiss.Prelude;
|
import kiss.Prelude;
|
||||||
|
|
||||||
@:build(kiss.Kiss.build())
|
@:build(kiss.Kiss.build())
|
||||||
class DeathTrapLogic implements GameLogic {}
|
class AsciiGameLogic implements GameLogic {}
|
||||||
@@ -12,7 +12,7 @@ class PlayState extends FlxState
|
|||||||
override public function create()
|
override public function create()
|
||||||
{
|
{
|
||||||
super.create();
|
super.create();
|
||||||
game = new Game("Beware Yon Death Trap", 40, 24, 8, 12, new DeathTrapLogic(), new FlxAssetsBackend(),
|
game = new Game("Ascii Game", 40, 24, 8, 12, new AsciiGameLogic(), new FlxAssetsBackend(),
|
||||||
new FlxGraphicsBackend(this, FlxGraphic.fromAssetKey("assets/images/size12.png"),
|
new FlxGraphicsBackend(this, FlxGraphic.fromAssetKey("assets/images/size12.png"),
|
||||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz,.;:/?!@#$%^&*()-_=+[]{}~ÁÉÍÑÓÚÜáéíñóúü¡¿0123456789\"'<>|"));
|
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz,.;:/?!@#$%^&*()-_=+[]{}~ÁÉÍÑÓÚÜáéíñóúü¡¿0123456789\"'<>|"));
|
||||||
}
|
}
|
||||||
@@ -5,8 +5,20 @@ KISS_PROJECT=${KISS_PROJECT:-aoc}
|
|||||||
|
|
||||||
haxelib dev kiss kiss
|
haxelib dev kiss kiss
|
||||||
|
|
||||||
# If project starts with flixel-, test that its code compiles for HTML5 and C++
|
# If project folder contains "nat-", set development directory for nat-archive-tool
|
||||||
if [[ $KISS_PROJECT == flixel-* ]]
|
if [[ $KISS_PROJECT == *nat-* ]]
|
||||||
|
then
|
||||||
|
haxelib dev nat-archive-tool projects/nat-archive-tool
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If project folder contains "ascii-", set development directory for asciilib2
|
||||||
|
if [[ $KISS_PROJECT == *ascii-* ]]
|
||||||
|
then
|
||||||
|
haxelib dev asciilib projects/asciilib2
|
||||||
|
fi
|
||||||
|
|
||||||
|
# If project folder contains "flixel-", test that its code compiles for HTML5 and C++
|
||||||
|
if [[ $KISS_PROJECT == *flixel-* ]]
|
||||||
then
|
then
|
||||||
# If running through Travis, install HaxeFlixel with c++ tooling and
|
# If running through Travis, install HaxeFlixel with c++ tooling and
|
||||||
if [ ! -z "$TRAVIS_OS_NAME" ]
|
if [ ! -z "$TRAVIS_OS_NAME" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user