Skip to content

Commit

Permalink
3
Browse files Browse the repository at this point in the history
  • Loading branch information
shinny-mayanqiong committed Jul 10, 2019
1 parent d070c5b commit ae10853
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GH_TOKEN=
26 changes: 24 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,44 @@
osx_image: xcode10.2

dist: trusty

sudo: true

language: node_js
node_js: "10"

cache:
directories:
- node_modules
- $HOME/.cache/

os:
- linux
- osx

addons:
apt:
packages:
- xvfb

before_install:
- npm update -g npm

install:
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
- npm install -g vue
- npm install

script:
- npm run electron:build
- npm run electron:build_all

branches:
only:
- master

deploy:
provider: releases
file: "dist_electron/*"
skip_cleanup: true
on:
tags: true
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
"lint": "vue-cli-service lint",
"electron:build": "vue-cli-service electron:build",
"electron:serve": "vue-cli-service electron:serve",
"electron:build_all": "vue-cli-service electron:build -mwl",
"release:mac": "vue-cli-service electron:build --mac -p always",
"postinstall": "electron-builder install-app-deps",
"postuninstall": "electron-builder install-app-deps",
"test:e2e": "vue-cli-service test:e2e",
Expand Down

0 comments on commit ae10853

Please sign in to comment.