version: 0.0.0-{build}

#os: Visual Studio 2014 CTP4

branches:
    only:
        - master

init:
    - git config --global core.autocrlf input

platform:
    - x86

install:
    - CALL "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/vcvarsall.bat" x86
    - SET CONFIGURE_LIBRARY_DIR=%APPVEYOR_BUILD_FOLDER%/src/lib

before_build:
    - cmd: SET
    - bash bootstrap/vs.sh

build_script:
    - configure.exe build BOOST_INCLUDE_DIR="c:/Libraries/boost" BOOST_LIBRARY_DIR="c:/Libraries/boost/stage/lib" -d
    - cat build/Makefile
    - configure.exe build --build
    - SET CONFIGURE_EXE=%APPVEYOR_BUILD_FOLDER%/build/bin/configure.exe
    - configure.exe build --build --target check

version: 0.0.0-{build}

#os: Visual Studio 2014 CTP4

branches:
    only:
        - master

init:
    - git config --global core.autocrlf input

platform:
    - x86

install:
    - SET PYTHON=C:/Python27
    - ps: (new-object net.webclient).DownloadFile('https://raw.github.com/pypa/pip/master/contrib/get-pip.py', 'C:/get-pip.py')
    - "%PYTHON%/python.exe C:/get-pip.py"
    - SET PIP="%PYTHON%/Scripts/pip.exe"
    - "%PIP% --version"
    - "%PIP% install behave"
    - CALL "C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/vcvarsall.bat" x86
    - SET CONFIGURE_LIBRARY_DIR=%APPVEYOR_BUILD_FOLDER%/src/lib

before_build:
    - cmd: SET
    - bash bootstrap/vs.sh

build_script:
    - configure.exe build BOOST_INCLUDE_DIR="c:/Libraries/boost" BOOST_LIBRARY_DIR="c:/Libraries/boost/stage/lib" -d
    - cat build/Makefile
    - configure.exe build --build
    - SET CONFIGURE_EXE=%APPVEYOR_BUILD_FOLDER%/build/bin/configure.exe
    - configure.exe build --build --target check

Install pip and behave in AppVeyor.
Install pip and behave in AppVeyor.
