.appveyor.yml 764 Bytes
Newer Older
Dan Allen's avatar
Dan Allen committed
1
# see https://www.appveyor.com/docs/build-configuration/#appveyoryml-and-ui-coexistence about relationship to configuration in UI
2
version: '{build}'
3 4
branches:
  except:
5
  - /^docs\/./
6 7
  - releases
skip_tags: true
8 9 10 11 12 13 14 15 16
only_commits:
  # only_commits.files may not work with GitLab yet
  files:
  - .appveyor.yml
  - package.json
  - yarn.lock
  - gulpfile.js/
  - packages/
  - test/
17
clone_depth: 5
18 19
environment:
  matrix:
Dan Allen's avatar
Dan Allen committed
20
  - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
21
    NODEJS_VERSION: 10
22
install:
Dan Allen's avatar
Dan Allen committed
23 24
- ps: Install-Product node $env:NODEJS_VERSION
- yarn --cache-folder=.cache/yarn --no-progress --pure-lockfile
25
cache:
Dan Allen's avatar
Dan Allen committed
26
- .cache/yarn
27 28
build: off
test_script:
Dan Allen's avatar
Dan Allen committed
29
- node_modules/.bin/gulp test
30 31 32
on_success:
- 7z a coverage.zip coverage
- appveyor PushArtifact coverage.zip