mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-20 13:50:34 -04:00
40 lines
716 B
YAML
40 lines
716 B
YAML
version: 0.1.{build}
|
|
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
image:
|
|
# - Visual Studio 2019
|
|
# - macos
|
|
- Ubuntu
|
|
|
|
stack: node 10
|
|
|
|
cache:
|
|
- node_modules
|
|
- '%APPDATA%\npm-cache'
|
|
- '%USERPROFILE%\.electron'
|
|
- '%USERPROFILE%\AppData\Local\Yarn\cache'
|
|
|
|
init:
|
|
- git config --global core.autocrlf input
|
|
- sh: |
|
|
if [ "${APPVEYOR_BUILD_WORKER_IMAGE}" == "Ubuntu" ]
|
|
then
|
|
sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils
|
|
sudo apt-get install snapd
|
|
sudo snap install snapcraft --classic
|
|
sudo apt-get install -y rpm
|
|
fi
|
|
|
|
install:
|
|
- git reset --hard HEAD
|
|
- npm install
|
|
- node --version
|
|
|
|
build_script:
|
|
- npm run release
|
|
|
|
test: off
|