不要怂,就是干,撸起袖子干!

You need to sign in or sign up before continuing.
appveyor.yml 694 Bytes
version: '{build}'

platform:
  - x64

services:
  - mssql2017

shallow_clone: true

environment:
  matrix:
    - { NODE_VERSION: 10, DIALECT: mssql, COVERAGE: true }

install:
  - ps: Install-Product node $env:NODE_VERSION x64
  - npm ci

build: off

before_test:
  - ps: . .\scripts\appveyor-setup.ps1

test_script:
  - 'IF "%COVERAGE%" == "true" (npm run cover) ELSE (npm test)'

after_test:
  - ps: |
      $env:PATH = 'C:\Program Files\Git\usr\bin;' + $env:PATH
      if (Test-Path env:\COVERAGE) {
        Invoke-WebRequest -Uri 'https://codecov.io/bash' -OutFile codecov.sh
        bash codecov.sh -f "coverage\lcov.info"
      }

branches:
  only:
    - master
    - /^greenkeeper/.*$/