blockbench/.travis.yml

41 lines
926 B
YAML
Raw Normal View History

2017-10-27 01:04:16 +08:00
sudo: required
2017-10-27 01:33:15 +08:00
dist: trusty
2019-01-02 21:27:42 +08:00
language: node_js
2017-10-27 01:33:15 +08:00
2020-03-15 04:37:09 +08:00
jobs:
2017-10-27 01:04:16 +08:00
include:
2020-01-26 02:07:39 +08:00
- name: "macOS + Win Portable"
2019-01-02 21:15:43 +08:00
os: osx
2020-01-26 02:07:39 +08:00
script:
- electron-builder --publish=always
2020-01-26 02:15:53 +08:00
- electron-builder --windows portable --x64 --publish=always -c.productName='Blockbench_portable'
2019-01-03 00:08:58 +08:00
2019-01-09 23:19:12 +08:00
- name: "Windows"
2019-01-09 23:01:12 +08:00
os: osx
2020-01-26 02:07:39 +08:00
script:
- electron-builder -w --x64 --publish=always
- electron-builder -w --ia32 --publish=always -c.productName='Blockbench_32bit'
2020-03-15 04:37:09 +08:00
deploy:
provider: releases
2020-04-26 02:25:07 +08:00
api_key: $GH_TOKEN
2020-03-15 04:45:38 +08:00
skip_cleanup: true
2020-03-15 04:37:09 +08:00
file: dist/win-unpacked/resources/app.asar
2020-01-24 01:53:36 +08:00
2019-01-02 21:15:43 +08:00
- name: "Linux"
2019-07-18 00:02:07 +08:00
os: linux
script:
- sudo apt-get install rpm
2019-07-19 23:35:55 +08:00
- electron-builder --publish=always
2017-10-27 01:33:15 +08:00
2017-10-27 01:04:16 +08:00
cache:
directories:
2019-01-03 00:16:05 +08:00
- node_modules
2017-10-27 01:33:15 +08:00
2017-10-27 01:04:16 +08:00
install:
2020-06-01 00:43:41 +08:00
- nvm install 12.17.0
2019-01-02 20:40:31 +08:00
- npm install electron-builder
2019-01-02 21:20:12 +08:00
notifications:
email: false