language: haxe
dist: xenial
services:
  - xvfb

haxe:
  - 3.4.7
  - development

env:
  - TARGET=flash OPENFL=new
  - TARGET=neko  OPENFL=new
  - TARGET=cpp   OPENFL=new
  - TARGET=html5 OPENFL=new

matrix:
  exclude:
    - haxe: development
      env: TARGET=html5 OPENFL=new

addons:
  apt:
    packages:
    - gcc-multilib
    - g++-multilib

before_install:
  - export DISPLAY=:99.0

install:
  - haxelib dev flixel .

script:
  - while sleep 540; do echo "=====[ $SECONDS seconds still running ]====="; done &
  - haxe --cwd tests --run RunTravis $TARGET $OPENFL
  - kill %1

language: haxe
dist: xenial
services:
  - xvfb

haxe:
  - 3.4.7
  - development

env:
  - TARGET=flash OPENFL=new
  - TARGET=neko  OPENFL=new
  - TARGET=cpp   OPENFL=new
  - TARGET=html5 OPENFL=new

addons:
  apt:
    packages:
    - gcc-multilib
    - g++-multilib

before_install:
  - export DISPLAY=:99.0

install:
  - haxelib dev flixel .

script:
  - while sleep 540; do echo "=====[ $SECONDS seconds still running ]====="; done &
  - haxe --cwd tests --run RunTravis $TARGET $OPENFL
  - kill %1

Revert "[Travis] allow Haxe dev / HTML5 to fail for now"
Revert "[Travis] allow Haxe dev / HTML5 to fail for now"

This reverts commit 2cffb0f12702b4916e30f4a907b46134b992ab0d.
