language: node_js
node_js:
  - "10"
dist: xenial

env:
  - HAXE_VERSION=haxerc
  - HAXE_VERSION=nightly

matrix:
  allow_failures:
    - env: HAXE_VERSION=nightly

install:
  - npm install
  - cd syntaxes
  - npm install
  - cd ..

script:
  - if [[ "$HAXE_VERSION" == "nightly" ]]; then npx lix download haxe nightly; fi
  - if [[ "$HAXE_VERSION" == "nightly" ]]; then npx lix use haxe nightly; fi
  - npx lix run vshaxe-build -v --debug -t all
  - npx lix run vshaxe-build -v -t vshaxe

language: node_js
node_js:
  - "10"
dist: xenial

env:
  - HAXE_VERSION=haxerc
  - HAXE_VERSION=nightly

install:
  - npm install
  - cd syntaxes
  - npm install
  - cd ..

script:
  - if [[ "$HAXE_VERSION" == "nightly" ]]; then npx lix download haxe nightly; fi
  - if [[ "$HAXE_VERSION" == "nightly" ]]; then npx lix use haxe nightly; fi
  - npx lix run vshaxe-build -v --debug -t all
  - npx lix run vshaxe-build -v -t vshaxe

Revert "Avoid Travis failures for now"
Revert "Avoid Travis failures for now"

This reverts commit 39c938f095b3aeec7f25c43d6b31a73a2eef5a2e.
