gns3-web-ui/.appveyor.yml

39 lines
1013 B
YAML
Raw Normal View History

version: 1.0.{build}
# Do not build feature branch with open Pull Requests
skip_branch_with_pr: true
2019-02-27 11:04:09 +00:00
cache:
- node_modules -> .appveyor.yml,package.json,yarn.lock
- '%LOCALAPPDATA%\Yarn -> .appveyor.yml,package.json,yarn.lock'
2018-03-29 12:58:01 +00:00
platform:
- x64
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 8 x64
2018-07-20 07:01:37 +00:00
- yarn install
build_script:
- yarn buildforelectron
- "%PYTHON%\\python.exe -m pip install -r scripts\\requirements.txt"
- "%PYTHON%\\python.exe scripts\\build.py download -a"
- "%PYTHON%\\python.exe scripts\\build.py build_exe -b dist/exe.gns3server -s"
- "%PYTHON%\\python.exe scripts\\build.py validate -b dist"
2019-03-05 08:57:24 +00:00
- "%PYTHON%\\python.exe scripts\\build.py download_dependencies -b dist"
2019-03-07 15:02:59 +00:00
- yarn electron-builder --win --x64 --publish always
test: off
artifacts:
2018-07-23 14:37:09 +00:00
- path: 'gns3-web-ui*.exe'
name: gns3-web-ui
environment:
GH_TOKEN:
secure: Zb0F4wfA/3zXZBQiEmEGpKIP17hD9gb/CNwxQE2N3J4Eq3z58mp0K0ey5g8Dupsb
PYTHON: "C:\\Python36-x64"