Standardize build script
This commit is contained in:
2
.haxerc
2
.haxerc
@@ -1 +1 @@
|
|||||||
{"version":"3.4.4","resolveLibs":"scoped"}
|
{"version":"3.4.7","resolveLibs":"scoped"}
|
||||||
45
.travis.yml
45
.travis.yml
@@ -1,28 +1,29 @@
|
|||||||
sudo: required
|
sudo: required
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
language: haxe
|
|
||||||
haxe:
|
|
||||||
- 3.2.1
|
|
||||||
- development
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
allow_failures:
|
|
||||||
- haxe: development
|
|
||||||
|
|
||||||
install:
|
|
||||||
- haxelib install travix
|
|
||||||
- haxelib run travix install
|
|
||||||
- haxelib install hx3compat
|
|
||||||
|
|
||||||
script:
|
|
||||||
- haxelib run travix node -lib hx3compat
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
secure: T4SCtY5qmEsK1ARWPevJmqLm23tv4CobLrbPOQV3FsoQno7FCP1S/+9GmuoJKzeTjWMzdTeDsp8TVwZ6AyGjvhl2nZNjhU+QTsir4tfbYYRyvsz/QK6pveFbPQVv7OsnnaB4wbZtqGZ8mzFeQf7Ol4tsNe7iUFJb/iVc+4/lUxo=
|
secure: T4SCtY5qmEsK1ARWPevJmqLm23tv4CobLrbPOQV3FsoQno7FCP1S/+9GmuoJKzeTjWMzdTeDsp8TVwZ6AyGjvhl2nZNjhU+QTsir4tfbYYRyvsz/QK6pveFbPQVv7OsnnaB4wbZtqGZ8mzFeQf7Ol4tsNe7iUFJb/iVc+4/lUxo=
|
||||||
|
|
||||||
deploy:
|
jobs:
|
||||||
provider: script
|
include:
|
||||||
script: haxe && haxelib run travix release
|
- stage: test
|
||||||
on:
|
language: node_js
|
||||||
tags: true
|
node_js: 8
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
# - osx
|
||||||
|
install:
|
||||||
|
- npm i -g lix haxe-travix
|
||||||
|
- lix download
|
||||||
|
script:
|
||||||
|
- travix node -lib hx3compat
|
||||||
|
|
||||||
|
- stage: deploy
|
||||||
|
language: haxe
|
||||||
|
haxe: "3.4.7"
|
||||||
|
os: linux
|
||||||
|
script: skip
|
||||||
|
after_success:
|
||||||
|
- haxelib install travix
|
||||||
|
- haxelib run travix install
|
||||||
|
- haxelib run travix release
|
||||||
|
|||||||
3
haxe_libraries/hx3compat.hxml
Normal file
3
haxe_libraries/hx3compat.hxml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
-D hx3compat=1.0.0
|
||||||
|
# @install: lix --silent download "haxelib:/hx3compat#1.0.0" into hx3compat/1.0.0/haxelib
|
||||||
|
-cp ${HAXE_LIBCACHE}/hx3compat/1.0.0/haxelib/std
|
||||||
Reference in New Issue
Block a user