1 | environment:
|
2 | nodejs_version: "9"
|
3 | cache:
|
4 | - '%LOCALAPPDATA%\Yarn -> appveyor.yml'
|
5 | - node_modules -> yarn.lock
|
6 |
|
7 | install:
|
8 | - ps: Install-Product node $env:nodejs_version x64
|
9 | - git submodule sync
|
10 | - git submodule update --init --recursive
|
11 | - git config --global user.email "dxcli@example.com"
|
12 | - git config --global user.name "dxcli"
|
13 | - yarn
|
14 | test_script:
|
15 | - yarn test
|
16 | after_test:
|
17 | - ps: |
|
18 | $env:PATH = 'C:\msys64\usr\bin;' + $env:PATH
|
19 | Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
|
20 | bash codecov.sh
|
21 |
|
22 | build: off
|
23 |
|