forked from stakx-io/stakx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
65 lines (57 loc) · 1.73 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
build: false
version: 0.2.0.{build}
pull_requests:
do_not_increment_build_number: true
skip_tags: true
clone_folder: C:\projects\stakx
environment:
matrix:
- dependencies: current
php_ver_target: 5.6
- dependencies: highest
php_ver_target: 5.6
- dependencies: current
php_ver_target: 7.0
- dependencies: highest
php_ver_target: 7.0
- dependencies: current
php_ver_target: 7.1
- dependencies: highest
php_ver_target: 7.1
- dependencies: highest
php_ver_target: 7.2
matrix:
fast_finish: true
branches:
except:
- gh-pages
cache:
- vendor
- '%LocalAppData%\Composer'
## Set up environment variables
init:
- SET PATH=C:\Program Files\OpenSSL;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET PHP=1
- SET ANSICON=121x90 (121x90)
install:
- sc config wuauserv start= auto
- net start wuauserv
- cinst -y OpenSSL.Light
- ps: cinst -y php --allow-empty-checksums --version ((choco search php --exact --all-versions -r | select-string -pattern $Env:php_ver_target | Select-Object -first 1) -replace '[php|]',''); cmd.exe /c 'appveyor.bat'
- refreshenv
- cd C:\projects\stakx
- php -r "readfile('http://getcomposer.org/installer');" | php
- php composer.phar config github-oauth.github.com %GH_TOKEN%
- IF %dependencies%==current php composer.phar install --no-progress --prefer-dist
- IF %dependencies%==highest php composer.phar update --no-progress --prefer-dist -n
- php composer.phar show
test_script:
- cd C:\projects\stakx
- vendor\bin\phpunit.bat
notifications:
- provider: Webhook
url: http://helit.org:8093/+sujevo-dev/showSuccessfulBuildMessages=always
on_build_success: true
on_build_failure: true
on_build_status_changed: true