aboutsummaryrefslogtreecommitdiffstats
path: root/appveyor.yml
diff options
context:
space:
mode:
authorStefan Schmidt <ubschmidt2@users.noreply.github.com>2017-09-22 23:01:16 +0200
committerGitHub <noreply@github.com>2017-09-22 23:01:16 +0200
commitde9f67c9b67b5faa4d3a4818c030bb60eddd45c3 (patch)
tree212cf2db10dd00626c318c32123c702028926808 /appveyor.yml
parent83fed9c3af641b227496ce96f9cc0b51b316df82 (diff)
downloadplatform_external_opencensus-java-de9f67c9b67b5faa4d3a4818c030bb60eddd45c3.tar.gz
platform_external_opencensus-java-de9f67c9b67b5faa4d3a4818c030bb60eddd45c3.tar.bz2
platform_external_opencensus-java-de9f67c9b67b5faa4d3a4818c030bb60eddd45c3.zip
Run the integration tests using different Java versions. (#638)
* Run the integration tests using different Java versions. * - Log the pathname of the java executable used for running integration tests. - Use a single environment variable, JAVA_HOMES, containing the home directories of the java installation used for integration tests. - Also test on multiple Java versions on Windows. * Cleanups: comments, install only what's missing, avoid backticks, don't ignore missing java home, grammar fix.
Diffstat (limited to 'appveyor.yml')
-rw-r--r--appveyor.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
index 6155ec22..e71311b3 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -2,4 +2,8 @@ install:
- git submodule update --init --recursive
build_script:
+ # The Gradle build script runs the integration tests of contrib/agent using different Java
+ # versions. %JAVA_HOMES% lists the home directories of the JDK installations used for
+ # integration testing. Also see https://www.appveyor.com/docs/build-environment/#java.
+ - set JAVA_HOMES=C:\Program Files\Java\jdk1.6.0\jre;C:\Program Files\Java\jdk1.7.0\jre;C:\Program Files\Java\jdk1.8.0\jre
- gradlew.bat clean assemble check --stacktrace