Fix appveyor build (#1699)

* Attempt to fix ant install on Appveyor

* Update ant version

* Fix environment variable in Appveyor
This commit is contained in:
Antonin Delpeuch 2018-08-07 11:22:06 +01:00 committed by GitHub
parent 4d0f141396
commit d271b430ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,18 +11,18 @@ clone_depth: 5
skip_branch_with_pr: true skip_branch_with_pr: true
environment: environment:
ANT_HOME: C:\apache-ant-1.10.3 ANT_HOME: C:\apache-ant-1.10.5
JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0 JAVA_HOME: C:\Program Files (x86)\Java\jdk1.8.0
matrix: matrix:
fast_finish: true fast_finish: true
install: install:
- cmd: if not exist %ANT_HOME% pushd . && cd \ && appveyor DownloadFile http://apache.spinellicreations.com/ant/binaries/apache-ant-1.10.3-bin.zip && 7z x apache-ant-1.10.3-bin.zip && popd - cmd: if not exist %ANT_HOME% pushd . && cd \ && appveyor DownloadFile http://www.mirrorservice.org/sites/ftp.apache.org//ant/binaries/apache-ant-1.10.5-bin.zip && 7z x apache-ant-1.10.5-bin.zip && popd
cache: cache:
- C:\apache-ant-1.10.3 - C:\apache-ant-1.10.5
- apache-ant-1.10.3-bin.zip - apache-ant-1.10.5-bin.zip
build: off build: off
# scripts to run before test # scripts to run before test