.appveyor.yml 1.15 KB
# Repo as zip
shallow_clone: true 

os:
  - Visual Studio 2015

environment:
  CTEST_OUPTUT_ON_FAILURE: ON

configuration:
  - Debug

branches:
  except:
    - gh-pages

install:
  ############################################################################
  # All external dependencies are installed in C:\projects\deps
  ############################################################################
  - mkdir C:\projects\deps
  - cd C:\projects\deps

  ############################################################################
  # Install a recent CMake
  ############################################################################
  - set CMAKE_URL="https://cmake.org/files/v3.7/cmake-3.7.0-win32-x86.zip"
  - appveyor DownloadFile %CMAKE_URL% -FileName cmake.zip
  - 7z x cmake.zip -oC:\projects\deps\cmake > nul
  - set PATH=C:\projects\deps\cmake\bin;%PATH%
  - cmake --version

before_build:
  - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" amd64
  - cd %APPVEYOR_BUILD_FOLDER%

build:
  verbosity: detailed

build_script:
  - mkdir build
  - cd build
  - cmake ..
  - cmake --build .

test_script:
  - cmake --build --target test .