version: '{build}'

skip_tags: true

environment:
  JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g
  MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xmx2g
  PATH: C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH%
  matrix:
    - JAVA_HOME: C:\Program Files\Java\jdk1.8.0

install:
  - ps: |
      Add-Type -AssemblyName System.IO.Compression.FileSystem
      if (!(Test-Path -Path "C:\maven" )) {
        (new-object System.Net.WebClient).DownloadFile('http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip')
        [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
      }
  - cmd: mvn --version
  - cmd: java -version

build_script:
  - mvn -B -e -P!generateproduct -Dio.sarl.docs.tests.skip=true clean install

cache:
  - C:\maven\ -> appveyor.yml
  - C:\Users\appveyor\.m2 -> pom.xml


version: '{build}'

skip_tags: true

environment:
  JAVA_HOME: C:\Program Files\Java\jdk1.8.0
  JAVA_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g
  MAVEN_OPTS: -XX:+CMSClassUnloadingEnabled -Xms512m -Xmx2g
  PATH: C:\maven\apache-maven-3.3.9\bin;%JAVA_HOME%\bin;%PATH%

install:
  - ps: |
      Add-Type -AssemblyName System.IO.Compression.FileSystem
      if (!(Test-Path -Path "C:\maven" )) {
        (new-object System.Net.WebClient).DownloadFile('http://www.us.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip', 'C:\maven-bin.zip')
        [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
      }
  - cmd: mvn --version
  - cmd: java -version

build_script:
  - mvn -B -e -P!generateproduct -Dio.sarl.docs.tests.skip=true clean install

cache:
  - C:\maven\ -> appveyor.yml
  - C:\Users\appveyor\.m2 -> pom.xml


Change the memory configuration for AppVeyor.
[ci] Change the memory configuration for AppVeyor.

Signed-off-by: Stéphane Galland <23860b554af9116d4237121086bd6767cdd4ff4b@arakhne.org>
