Skip to content

Commit 137442f

Browse files
committed
Change config
1 parent eba56c5 commit 137442f

File tree

3 files changed

+45
-8
lines changed

3 files changed

+45
-8
lines changed

.travis.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,46 @@
11
osx_image: xcode7.3
22
sudo: required
33
dist: trusty
4+
45
language: c
6+
57
matrix:
68
include:
79
- os: osx
810
- os: linux
911
env: CC=clang CXX=clang++ npm_config_clang=1
1012
compiler: clang
13+
1114
cache:
1215
directories:
1316
- node_modules
14-
- app/node_modules
1517
- "$HOME/.electron"
1618
- "$HOME/.cache"
19+
1720
addons:
1821
apt:
22+
sources:
23+
- ubuntu-toolchain-r-test
1924
packages:
20-
- libgnome-keyring-dev
21-
- icnsutils
25+
- g++-4.8
26+
- icnsutils
27+
- graphicsmagick
28+
- libgnome-keyring-dev
29+
- xz-utils
30+
- xorriso
31+
- xvfb
32+
2233
before_install:
2334
- mkdir -p /tmp/git-lfs && curl -L https://github.com/github/git-lfs/releases/download/v1.2.1/git-lfs-$([
2435
"$TRAVIS_OS_NAME" == "linux" ] && echo "linux" || echo "darwin")-amd64-1.2.1.tar.gz
2536
| tar -xz -C /tmp/git-lfs --strip-components 1 && /tmp/git-lfs/git-lfs pull
2637
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install --no-install-recommends -y icnsutils graphicsmagick xz-utils; fi
38+
2739
install:
2840
- nvm install 6
2941
- npm install electron-builder@next
3042
- npm install
3143
- npm prune
44+
3245
script:
33-
- npm run release
34-
branches:
35-
except:
36-
- "/^v\\d+\\.\\d+\\.\\d+$/"
46+
- npm run dist

appveyor.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
version: 0.4.{build}
2+
3+
platform:
4+
- x64
5+
6+
cache:
7+
- node_modules
8+
9+
init:
10+
- git config --global core.autocrlf input
11+
12+
install:
13+
- ps: Install-Product node 6 x64
14+
- set CI=true
15+
- git reset --hard HEAD
16+
- npm install npm -g
17+
- npm install electron-builder@next # force install next version to test electron-builder
18+
- npm install
19+
- npm prune
20+
21+
build_script:
22+
- node --version
23+
- npm --version
24+
- npm run dist
25+
26+
test: off

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"main": "main.js",
77
"scripts": {
88
"start": "electron .",
9-
"dist": "build -mwl"
9+
"dist": "build",
10+
"dist-x": "build -ml"
1011
},
1112
"repository": "https://github.com/ahmadudin/electron-InstaPy-GUI",
1213
"keywords": [

0 commit comments

Comments
 (0)