blockbench/.travis.yml
2021-06-24 11:18:37 +02:00

40 lines
770 B
YAML

sudo: required
dist: trusty
language: node_js
node:
- 14
if: commit_message =~ ci-build
jobs:
include:
- name: "macOS"
os: osx
osx_image: "xcode12.5"
script:
- electron-builder --publish=always
- name: "Windows"
os: osx
osx_image: "xcode12.5"
script:
- electron-builder -w --x64 --ia32 --publish=onTagOrDraft
- node ./scripts/rename_portable.js
- electron-builder --windows portable --ia32 --publish=onTagOrDraft
- name: "Linux"
os: linux
script:
- sudo apt-get install rpm
- electron-builder --publish=onTagOrDraft
cache:
directories:
- node_modules
install:
- npm install
notifications:
email: false