environment:
  TMC_PASSWORD:
    secure: yHwF55rZGpgUDCEGjHQtuw==
  TMC_USERNAME:
    secure: yHwF55rZGpgUDCEGjHQtuw==
  TMC_SERVER_ADDRESS:
    secure: mGLqF/XXSWBgTAeL3TZT3vHHfGT8CFz4xa8Y88hOgkHyhlYZ0+nEhIkeUu5nYS8d
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.2.5/binaries/apache-maven-3.2.5-bin.zip', 'C:\maven-bin.zip')
        [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
      }
  - cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
  - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
  - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
build_script:
  - mvn clean install --batch-mode
cache:
  - C:\maven\
  - C:\Users\appveyor\.m2


environment:
  TMC_PASSWORD:
    secure: yHwF55rZGpgUDCEGjHQtuw==
  TMC_USERNAME:
    secure: yHwF55rZGpgUDCEGjHQtuw==
  TMC_SERVER_ADDRESS:
    secure: mGLqF/XXSWBgTAeL3TZT3vIX0VTyvNdt0XM2V3yA1As=
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.2.5/binaries/apache-maven-3.2.5-bin.zip', 'C:\maven-bin.zip')
        [System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven")
      }
  - cmd: SET PATH=C:\maven\apache-maven-3.2.5\bin;%JAVA_HOME%\bin;%PATH%
  - cmd: SET MAVEN_OPTS=-XX:MaxPermSize=2g -Xmx4g
  - cmd: SET JAVA_OPTS=-XX:MaxPermSize=2g -Xmx4g
build_script:
  - mvn clean install --batch-mode
cache:
  - C:\maven\
  - C:\Users\appveyor\.m2


Change AppVeyor server address back
Change AppVeyor server address back
