Browse files

use preinstalled jdk, do not install jre again with ant

  • Loading branch information...
marscher committed Nov 4, 2018
1 parent bc2376d commit 96e6b35e631b521794117d281295afc2ba868e4c
Showing with 6 additions and 5 deletions.
  1. +6 −5 appveyor.yml
@@ -4,10 +4,10 @@ environment:
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See:
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
#ANT_HOME: "C:\\ProgramData\\chocolatey\\lib\\ant\\apache-ant-1.10.1"
ANT_HOME: "C:\\ant"
ANT_HOME: "C:\\ProgramData\\chocolatey\\lib\\ant\\apache-ant-1.10.5"
NUMPY_: "numpy x.x"
JAVA_HOME: "C:\\jdk8"
#JAVA_HOME: "C:\\jdk8"
JAVA_HOME: "C:\\Program Files\\Java\\jdk1.8.0"
@@ -73,11 +73,12 @@ install:
# - We will need to figure out how to run nose multiple times on the same run so that
# we can get the result from each of the java version runs.
- cinst jdk8 -params 'installdir=C:\\jdk8' %CINST_OPTS%
#- cinst jdk8 -params 'installdir=C:\\jdk8' %CINST_OPTS%
# - cinst jdk7 -params 'installdir=C:\\jdk7'
# - cinst jdk9 -version -params 'installdir=C:\\jdk9'
- cinst ant -params 'installdir=C:\\ant' %CINST_OPTS%
- cinst ant %CINST_OPTS% --ignore-dependencies
- refreshenv
# Add thinges to path
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%ANT_HOME%\\bin;%PATH%"

0 comments on commit 96e6b35

Please sign in to comment.