-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
33 lines (30 loc) · 963 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
language: haxe
haxe: development
dist: bionic
install:
- git config --global gc.auto 0 # we will call gc manually during deploy
- haxelib install all --always
- haxelib dev hxparse libs/hxparse
- haxelib dev hxtemplo libs/hxtemplo
- haxelib dev hxargs libs/hxargs
- haxelib dev markdown libs/haxe-markdown
- haxelib dev dox libs/dox
- git clone --depth=1 https://github.com/HaxeFoundation/hxcpp.git
- cd hxcpp/tools/hxcpp
- haxe compile.hxml
- cd ../../../
- haxelib dev hxcpp hxcpp
- haxelib list
script:
- haxe gen.hxml
- neko Gen.n
# validate html
- wget -q https://github.com/validator/validator/releases/download/18.8.29/vnu.jar_18.8.29.zip
- unzip vnu.jar_18.8.29.zip
- java -jar dist/vnu.jar --errors-only html/*.html # only for the top level html for now since there are many errors in e.g. js/html/*.html
deploy:
provider: script
script: haxe --run DeployGhPages
on:
branch: master
skip_cleanup: true