From fb069672f84bd5ae9f323e708d5b0b43fadd6721 Mon Sep 17 00:00:00 2001 From: Edgar Date: Sat, 21 Sep 2019 10:23:36 +0200 Subject: [PATCH] :bug: Fixed Conan failing to install the packages in appveyor --- appveyor.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 63351f22f..e2b673c65 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -5,10 +5,16 @@ branches: image: Visual Studio 2017 platform: Any CPU clone_depth: 1 -init: -- cmd: '' install: - cmd: >- + choco source add -n=AFG -s="https://api.bintray.com/nuget/anotherfoxguy/choco-pkg" + + choco install conan -y + + refreshenv + + conan user + git submodule update --init --recursive set QTDIR=C:\Qt\5.11\msvc2017_64 @@ -16,8 +22,6 @@ install: set PATH=%PATH%;%QTDIR%\bin call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 - - pip install conan -q build_script: - cmd: >- dir @@ -58,4 +62,4 @@ deploy: prerelease: true force_update: true on: - branch: master + branch: master \ No newline at end of file