forked from cocur/slugify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
39 lines (33 loc) · 1.01 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
build: false
shallow_clone: true
platform: x86
clone_folder: c:\projects\cocur\slugify
cache:
- '%LOCALAPPDATA%\Composer\files'
init:
- SET PATH=C:\Program Files\OpenSSL;C:\tools\php;%PATH%
environment:
matrix:
- COMPOSER_FLAGS: ""
install:
- cinst -y OpenSSL.Light
- sc config wuauserv start= auto
- net start wuauserv
- cinst -y php --params "/InstallDir:C:\tools\php"
- cd C:\tools\php
- copy php.ini-production php.ini /Y
- echo extension_dir=ext >> php.ini
- echo extension=php_openssl.dll >> php.ini
- echo extension=php_mbstring.dll >> php.ini
- cd %APPVEYOR_BUILD_FOLDER%
- php -r "readfile('https://getcomposer.org/installer');" | php
- php composer.phar update %COMPOSER_FLAGS% --no-interaction --no-progress
test_script:
- cd %APPVEYOR_BUILD_FOLDER%
- vendor\bin\phpunit --verbose --colors=always
notifications:
- provider: Webhook
url: https://webhooks.gitter.im/e/aaf55568e4629e650616
on_build_success: false
on_build_failure: true
on_build_status_changed: true