forked from tidepool-org/uploader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
executable file
·58 lines (45 loc) · 1.23 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
image: Visual Studio 2017
environment:
APPVEYOR_CACHE_ENTRY_ZIP_ARGS: -t7z
matrix:
- nodejs_version: 8.2.1
cache:
- "%LOCALAPPDATA%\\Yarn"
platform:
- x64
matrix:
fast_finish: true
build: off
version: '{build}'
shallow_clone: true
clone_depth: 1
skip_branch_with_pr: true
install:
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
- ps: Update-AppveyorBuild -Version "$env:package_version-$env:APPVEYOR_BUILD_NUMBER"
- ps: Install-Product node $env:nodejs_version $env:platform
- set CI=true
- yarn --frozen-lockfile
test_script:
- node --version
- yarn lint
- yarn test
# - yarn test-e2e
# - yarn package-dev
# - 7z a development.zip release
# - rmdir /S /Q release
- yarn package
# - 7z a production.zip release
notifications:
- provider: Slack
incoming_webhook:
# webhook URL is encrypted so can be stored in public repo
secure: PkO2WgPHg816yzPsyT47fxuBlM5bGhsNUn+VaNmLU6zCC31xwttRteKybldC6Jp1kdlWALyRdxt7WYsWDrkrAG3tHYSHSo7RDhea4qLuwjA=
on_build_success: true
on_build_failure: true
on_build_status_changed: false
#artifacts:
# - path: development.zip
# name: Development build
# - path: production.zip
# name: Production Build