forked from concretecms/concretecms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
42 lines (32 loc) · 1.02 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
version: "Build {build}"
environment:
matrix:
- PHP_VERSION: '7.1'
PHP_ARCHITECTURE: x86
PREFER_LOWEST:
- PHP_VERSION: '7.2'
PHP_ARCHITECTURE: x64
PREFER_LOWEST:
matrix:
fast_finish: true
clone_depth: 50
cache:
- C:\tools\downloads -> .appveyor\configure.ps1
- '%ProgramFiles%\WindowsPowerShell\Modules\VcRedist -> .appveyor\configure.ps1'
- '%LOCALAPPDATA%\Composer\files'
services:
- mysql
init:
- set PATH=C:\Program Files\MySQL\MySQL Server 5.7\bin;%PATH%
- set MYSQL_PWD=Password12!
install:
- ps: .\.appveyor\configure.ps1
- composer install --no-progress --no-suggest --optimize-autoloader --no-ansi --no-interaction %PREFER_LOWEST%
build: off
test_script:
- mysql --user=root -e "CREATE USER 'travis'@'localhost' IDENTIFIED BY '';" || exit 0
- mysql --user=root -e "GRANT ALL PRIVILEGES ON *.* TO 'travis'@'localhost' WITH GRANT OPTION; FLUSH PRIVILEGES;"
- cd /d "%APPVEYOR_BUILD_FOLDER%"
- set APPVEYOR_SAVE_CACHE_ON_ERROR=true
- composer test
deploy: off