From e34228af807f93229794709c9f695b5899f449b9 Mon Sep 17 00:00:00 2001 From: onigra <3280467rec@gmail.com> Date: Tue, 14 Feb 2017 19:01:17 +0900 Subject: [PATCH 1/3] Fix gem install error --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 7debaf4..b5faca8 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -15,6 +15,7 @@ environment: - PYTHON: "C:\\Python27" PYTHON_VERSION: "2.7.8" PYTHON_ARCH: "32" + RUBY_VERSION: 23 # - PYTHON: "C:\\Python27-x64" # PYTHON_VERSION: "2.7.8" @@ -82,8 +83,7 @@ install: - "%CMD_IN_ENV% pip install --upgrade sqlparse" # Ruby & Gem - - cinst ruby -y - - "SET PATH=C:\\tools\\ruby23\\bin;%PATH%" + - SET PATH=C:\Ruby%RUBY_VERSION%\bin;C:\Ruby23-x64\DevKit\mingw\bin;%PATH% # Rubocop - gem install rubocop - where rubocop From e62cb301b1b02bbcf256a2d51caa140b16d60346 Mon Sep 17 00:00:00 2001 From: onigra <3280467rec@gmail.com> Date: Tue, 14 Feb 2017 19:58:53 +0900 Subject: [PATCH 2/3] Fix php install error http://help.appveyor.com/discussions/problems/5616-not-able-to-build-due-to-problem-in-chocolateyinstallps1 --- appveyor.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/appveyor.yml b/appveyor.yml index b5faca8..90df6fd 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -104,6 +104,7 @@ install: # FIXME: Enable allowEmptyChecksums, until someone fixes the checksum issue of php - choco feature enable -n allowEmptyChecksums # PHP + - ps: Set-Service wuauserv -StartupType Manual - cinst php -y - ps: "ls \"C:\\tools\\php\"" - "SET PATH=C:\\tools\\php;%PATH%" From f6a7f53513d352f88b3bf38c64c8dea234520079 Mon Sep 17 00:00:00 2001 From: onigra <3280467rec@gmail.com> Date: Tue, 14 Feb 2017 20:06:44 +0900 Subject: [PATCH 3/3] Modify php71 path --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 90df6fd..002bd1f 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -106,8 +106,8 @@ install: # PHP - ps: Set-Service wuauserv -StartupType Manual - cinst php -y - - ps: "ls \"C:\\tools\\php\"" - - "SET PATH=C:\\tools\\php;%PATH%" + - ps: "ls \"C:\\tools\\php71\"" + - "SET PATH=C:\\tools\\php71;%PATH%" - where php # PHP-CS-Fixer - cinst curl -y # Use cURL to download file from URL