Skip to content

Commit

Permalink
try
Browse files Browse the repository at this point in the history
  • Loading branch information
damngamerz committed Apr 28, 2017
1 parent 47cef01 commit 16d9b86
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .ci/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ branches:
except:
- /^sils\/.*/

init:
- ps: $Env:PATH = 'c:\tools\composer\;' + $Env:PATH

install:
# Prepend newly installed Python to the PATH of this build (this cannot be
# done from inside the powershell script as it would require to restart
Expand All @@ -46,6 +49,29 @@ install:
- ps: "Install-Product node ''" # Use latest node v5.x.x
- "npm config set loglevel warn"
- "npm install"
# Enable Windows Update
# This is required for one of the dependencies of the Chocolatey PHP package
- sc config wuauserv start=auto
- net start wuauserv
# The following installs and sets up PHP
- cinst -y php
- copy C:\tools\php71\php.ini-production C:\tools\php71\php.ini
- echo date.timezone="UTC" >> C:\tools\php71\php.ini
- echo extension_dir=ext >> C:\tools\php71\php.ini
- echo extension=php_openssl.dll >> C:\tools\php71\php.ini
- SET PATH=C:\tools\php71\;%PATH%
# Prepare Composer
- ps: If ((Test-Path c:\tools\composer) -eq $False) {
New-Item -Path c:\tools\composer -ItemType 'directory' }
- ps: If ((Test-Path c:\tools\composer\composer.phar) -eq $False) {
appveyor DownloadFile https://getcomposer.org/composer.phar
-FileName c:\tools\composer\composer.phar }
- ps: Set-Content -Path c:\tools\composer\composer.bat -Value (
'@php c:\tools\composer\composer.phar %*')
- SET PATH=C:\projects\coala-bears\vendor\bin\;%PATH%
- composer --version
# composer dependencies installation (TODO-make a common installation script for all CI)
- composer require "phpstan/phpstan"

build: false # Not a C# project, build stuff at the test step instead.

Expand Down
3 changes: 3 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ dependencies:
- sed -i '/source \/home\/ubuntu\/virtualenvs\//d' ~/.circlerc
- mkdir -p ~/.RLibrary
- nvm alias default node
- composer require "phpstan/phpstan"
override:
- bash .ci/deps.cabal.sh
- bash .ci/deps.sh:
Expand All @@ -43,6 +44,8 @@ dependencies:
machine:
java:
version: oraclejdk8
php:
version: 7.1.0

test:
override:
Expand Down

0 comments on commit 16d9b86

Please sign in to comment.