forked from xdebug/vscode-php-debug
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathappveyor.yml
36 lines (28 loc) · 772 Bytes
/
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
version: '{build}'
skip_branch_with_pr: true
skip_tags: true
clone_depth: 1
image: Visual Studio 2017
platform:
- x64
cache:
- '%APPDATA%\npm-cache'
environment:
NODE_VERSION: '7.9.0'
NPM_VERSION: '^5.0.0'
matrix:
- {PHP_VERSION: '7.0.20', VC_VERSION: '14', XDEBUG_VERSION: '2.5.5'}
- {PHP_VERSION: '5.6.30', VC_VERSION: '11', XDEBUG_VERSION: '2.5.5'}
install:
- ps: . .\appveyor-install.ps1
build_script:
- npm run build --silent
test_script:
- npm run lint --silent
- npm run cover --silent
after_test:
- ps: |
node_modules\.bin\nyc report --reporter=lcov
$env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
bash codecov.sh -f "coverage\lcov.info"