1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-06 00:48:08 +02:00
bitwarden-browser/appveyor.yml
Kyle Spearrin 059260d318 ci builds
2019-03-08 14:44:02 -05:00

41 lines
841 B
YAML

image:
- Visual Studio 2017
- Ubuntu1804
branches:
except:
- l10n_master
- gh-pages
environment:
APPVEYOR_YML_DISABLE_PS_LINUX: true
services:
- docker
stack: node 10
init:
- ps: Install-Product node $env:nodejs_version
install:
- sh: echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- ps: choco install cloc --no-progress
- ps: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
- ps: $env:package_version = (Get-Content -Raw -Path package.json | ConvertFrom-Json).version
before_build:
- cmd: node --version
- cmd: npm --version
- cmd: set "GIT_PATH=C:\Program Files\Git\mingw64\libexec\git-core"
- cmd: set "PATH=%GIT_PATH%;%PATH%"
build_script:
- sh: chmod +x ./build-ci.sh
- sh: ./build-ci.sh
- cmd: npm install
- cmd: npm run build:prod
after_build:
- sh: docker logout