Skip to content

Commit

Permalink
add appveyor config
Browse files Browse the repository at this point in the history
  • Loading branch information
Gemorroj committed Feb 26, 2018
1 parent 91b1c60 commit facd9d6
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
build: false
clone_depth: 1
clone_folder: c:\projects\archive7z

environment:
PHP_DIR: C:\tools\php

init:
- SET PATH=%PHP_DIR%;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET ANSICON=121x90 (121x90)

install:
- ps: Set-Service wuauserv -StartupType Manual
- cinst 7zip -y
- cinst php -y --params "/InstallDir:%PHP_DIR%"
- cinst composer -y --ia "/DEV=%PHP_DIR%"
- refreshenv
- php -v
- composer self-update
- cd %APPVEYOR_BUILD_FOLDER%
- composer install

test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- vendor\bin\phpunit

0 comments on commit facd9d6

Please sign in to comment.