|
@@ -32,7 +32,7 @@ env:
|
|
|
sudo: required
|
|
|
dist: trusty
|
|
|
language: node_js
|
|
|
-node_js: "8"
|
|
|
+node_js: "10"
|
|
|
|
|
|
install_linux: &install_linux
|
|
|
# Install dependencies
|
|
@@ -150,11 +150,22 @@ install_osx: &install_osx
|
|
|
|
|
|
install_windows: &install_windows
|
|
|
- choco install nsis.portable --version 3.02 -y
|
|
|
- - choco install curl wget awscli -y
|
|
|
+ - choco install awscli -y
|
|
|
# Install neko
|
|
|
- choco install neko --prerelease --ignore-dependencies -s 'https://ci.appveyor.com/nuget/neko' -y
|
|
|
# Install ocaml
|
|
|
- curl -fsSL -o cygwin-setup.exe --retry 3 https://cygwin.com/setup-x86_64.exe
|
|
|
+ - 'cygwin-setup.exe -g -q -R "%CYG_ROOT%" -P make -P git -P zlib-devel -P mingw64-x86_64-zlib -P mingw64-i686-zlib -P rsync -P patch -P diffutils -P curl -P unzip -P m4 -P perl -P mingw64-x86_64-gcc-core -P mingw64-i686-gcc-core -P libpcre-devel -P mingw64-x86_64-pcre -P mingw64-i686-pcre'
|
|
|
+ - if not exist "opam.tar.xz" (
|
|
|
+ curl -fsSL -o "opam.tar.xz" --retry 3 https://github.com/fdopen/opam-repository-mingw/releases/download/0.0.0.1/opam%ARCH%.tar.xz
|
|
|
+ )
|
|
|
+ - 7z x "opam.tar.xz" -so | 7z x -aoa -si -ttar
|
|
|
+ - '%CYG_ROOT%/bin/bash -lc "cd \"$OLDPWD\" && bash opam${ARCH}/install.sh"'
|
|
|
+ - '%CYG_ROOT%/bin/bash -lc "opam init mingw \"https://github.com/fdopen/opam-repository-mingw.git\" --comp 4.07.0+mingw${ARCH}c --switch 4.07.0+mingw${ARCH}c --auto-setup --yes"'
|
|
|
+ - '%CYG_ROOT%/bin/bash -lc "opam update --yes"'
|
|
|
+ - '%CYG_ROOT%/bin/bash -lc "opam pin add haxe \"$TRAVIS_BUILD_DIR\" --no-action --yes"'
|
|
|
+ - '%CYG_ROOT%/bin/bash -lc "opam install haxe --deps-only --yes"'
|
|
|
+
|
|
|
|
|
|
matrix:
|
|
|
include:
|
|
@@ -202,6 +213,7 @@ matrix:
|
|
|
- os: windows
|
|
|
env:
|
|
|
- TEST=neko
|
|
|
+ - CYG_ROOT: C:/cygwin64
|
|
|
install: *install_windows
|
|
|
|
|
|
#######
|