Update ci script

This commit is contained in:
Kevin Leung
2018-09-19 16:40:12 +08:00
parent e6a0304016
commit d6142847eb

View File

@@ -1,28 +1,40 @@
sudo: required sudo: required
dist: trusty dist: trusty
stages:
- test
- deploy
language: node_js
node_js: 8
os:
- linux
# - osx
env: env:
secure: T4SCtY5qmEsK1ARWPevJmqLm23tv4CobLrbPOQV3FsoQno7FCP1S/+9GmuoJKzeTjWMzdTeDsp8TVwZ6AyGjvhl2nZNjhU+QTsir4tfbYYRyvsz/QK6pveFbPQVv7OsnnaB4wbZtqGZ8mzFeQf7Ol4tsNe7iUFJb/iVc+4/lUxo= - HAXE_VERSION=3.4.7
- HAXE_VERSION=latest
install:
- npm i -g lix
- lix install haxe $HAXE_VERSION
- lix download
script:
- lix run travix node -lib hx3compat
jobs: jobs:
include: include:
- stage: test # - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
language: node_js
node_js: 8
os:
- linux
# - osx
install:
- npm i -g lix
- lix download
script:
- lix run travix node -lib hx3compat
- stage: deploy - stage: deploy
language: haxe language: haxe
haxe: "3.4.7" haxe: "3.4.7"
os: linux os: linux
install: skip
script: skip script: skip
env:
secure: T4SCtY5qmEsK1ARWPevJmqLm23tv4CobLrbPOQV3FsoQno7FCP1S/+9GmuoJKzeTjWMzdTeDsp8TVwZ6AyGjvhl2nZNjhU+QTsir4tfbYYRyvsz/QK6pveFbPQVv7OsnnaB4wbZtqGZ8mzFeQf7Ol4tsNe7iUFJb/iVc+4/lUxo=
after_success: after_success:
- haxelib install travix - haxelib install travix
- haxelib run travix install - haxelib run travix install