blockbench/.travis.yml
2023-11-02 22:28:12 +01:00

34 lines
573 B
YAML

sudo: required
dist: trusty
language: node_js
node:
- 18
if: tag IS blank AND commit_message =~ ci-build
jobs:
include:
- name: "macOS"
os: osx
osx_image: "xcode12.5"
script:
- npm run prepublish
- electron-builder --publish=always
- name: "Linux"
os: linux
script:
- npm run prepublish
- sudo apt-get install rpm
- electron-builder --publish=onTagOrDraft
cache:
directories:
- node_modules
install:
- npm install
notifications:
email: false