Skip to content

Commit

Permalink
Added .travis.yml and appveyor.yml for automatic release
Browse files Browse the repository at this point in the history
  • Loading branch information
akshitkrnagpal authored and saghul committed Jul 13, 2018
1 parent 019921f commit 04fb2fd
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 9 deletions.
30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
matrix:
include:
- os: osx
osx_image: xcode9.3
language: node_js
node_js: '8'

- os: linux
language: node_js
node_js: '8'
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libx11-dev
- zlib1g-dev
- libpng12-dev
- libxtst-dev
- g++-4.8
- gcc-4.8

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

script:
- npm run dist
15 changes: 15 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
image: Visual Studio 2017

platform:
- x64

cache:
- node_modules
- '%USERPROFILE%\.electron'

install:
- ps: Install-Product node 8 x64
- npm install

build_script:
- npm run dist
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,34 @@
"!main.js"
],
"mac": {
"artifactName": "${productName}-${version}-${arch}.${ext}",
"artifactName": "jitsi-meet-${version}.${ext}",
"category": "public.app-category.video",
"target": "dmg"
},
"linux": {
"artifactName": "${productName}-${version}-${arch}.${ext}",
"artifactName": "jitsi-meet-${version}-${arch}.${ext}",
"category": "VideoConference;AudioVideo;Audio;Video;Network",
"description": "Jitsi Meet Desktop App",
"executableName": "jitsi-meet",
"target": "AppImage"
"target": [
{
"arch": "x64",
"target": "AppImage"
}
]
},
"win": {
"artifactName": "jitsi-meet-${version}-${arch}.${ext}",
"target": [
{
"arch": [
"x64",
"ia32"
"ia32",
"x64"
],
"target": "nsis"
}
]
},
"nsis": {
"allowToChangeInstallationDirectory": true,
"oneClick": false
},
"directories": {
"buildResources": "resources"
}
Expand Down

0 comments on commit 04fb2fd

Please sign in to comment.