-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.travis.yml
51 lines (39 loc) · 985 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
sudo: required
dist: trusty
stages:
- test
- deploy
language: node_js
node_js: 8
cache:
directories:
- $HOME/haxe
os:
- linux
# - osx
env:
- HAXE_VERSION=3.4.7
- HAXE_VERSION=latest
before_install:
- args=()
- if [ "$HAXE_VERSION" == "latest" ]; then args+=(-lib); args+=(hx3compat); fi
install:
- npm i -g lix
- lix install haxe $HAXE_VERSION
- lix download
script:
- lix run travix interp "${args[@]}"
jobs:
include:
# - stage: test # should uncomment this when there is no matrix above (e.g. only one os, one env, etc)
- stage: deploy
os: linux
install:
- npm i -g lix
- lix download
script: skip
env:
- secure: "j3U6/DIvvuRRSls2Y4MOff7eEqVwjt9H6qdvvuPMvBshYB40mlAmkPzGxaVBZ1ia1DOqPmlCsHX3FwrQl+n4lAWPiyWzKaThK8Tb5TkOF1OJxHbbtzVz40ZTKBdOyowwEewxnFUO1eUs4NuOYHYTiZBPKA024oebm/1z7HJkx3k="
after_success:
- lix run travix install
- lix run travix release