build: false
environment:
    PYTHON: "C:\\Python27"
    PYTHON_VERSION: "2.7.8"
    PYTHON_ARCH: "32"

configuration: Release

platform:
- x86
- x64
#We install nasm in case libjpeg-turbo has to be built from source
install:
  - curl -L -o nasminst.exe http://libgd.blob.core.windows.net/nasm/nasm-2.07-installer.exe
  - start /wait nasminst.exe /S
  - ps: $env:path="C:\Program Files (x86)\nasm;$($env:path)"
  - set PATH=%PATH%;%PYTHON%/Scripts/;C:\Program Files (x86)\nasm
  - pip.exe install conan
  - conan user # It creates the conan data directory

test_script:
  - mkdir build
  - cd build
  - if "%PLATFORM%"=="x86" conan install --file ../conanfile.py -o build_tests=True --build missing  -s build_type=Release -s arch=x86
  - if "%PLATFORM%"=="x64" conan install --file ../conanfile.py -o build_tests=True --build missing  -s build_type=Release -s arch=x86_64
  - conan build --file ../conanfile.py && ctest -V -C Release


build: false
environment:
    PYTHON: "C:\\Python27"
    PYTHON_VERSION: "2.7.8"
    PYTHON_ARCH: "32"

configuration: Release

platform:
- x86
- x64
#We install nasm in case libjpeg-turbo has to be built from source
install:
  - curl -L -o nasminst.exe http://libgd.blob.core.windows.net/nasm/nasm-2.07-installer.exe
  - start /wait nasminst.exe /S
  - ps: $env:path="C:\Program Files (x86)\nasm;$($env:path)"
  - set PATH=%PATH%;%PYTHON%/Scripts/;C:\Program Files (x86)\nasm
  - pip.exe install conan
  - conan user # It creates the conan data directory

test_script:
  - mkdir build
  - cd build
  - if "%PLATFORM%"=="x86" conan install -o build_tests=True --build missing  -s build_type=Release -s arch=x86 -u ../
  - if "%PLATFORM%"=="x64" conan install -o build_tests=True --build missing  -s build_type=Release -s arch=x86_64  -u ../
  - conan build ../


Update AppVeyor to match travis conan invokation
Update AppVeyor to match travis conan invokation
