-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy path.travis.txt
40 lines (40 loc) · 1.71 KB
/
.travis.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
language: node_js
node_js:
- lts/*
os:
- windows
- linux
- osx
before_install:
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install innosetup; fi
- node -v
- npm -v
- npm install -g node-gyp@5
- node-gyp -v
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then npm config set node_gyp "`npm prefix -g`\\node_modules\\node-gyp\\bin\\node-gyp.js"; else npm config set node_gyp "`npm prefix -g`/lib/node_modules/node-gyp/bin/node-gyp.js"; fi
- node-gyp install --target=$(node -p require\(\'./app/package.json\'\).devDependencies.electron) --dist-url=https://atom.io/download/electron
- cd ./app
- rm -rf ./package-lock.json
- npm config ls
install:
- npm install
script:
- npm run build
before_deploy:
- npm run get
- npm run pack:x64
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then npm run pack:ia32; fi
deploy:
provider: releases
api_key:
secure: BuOGRX9GVcPFPNm/6aU5PRYUz76FGYZsJpQRP6Bv+RMd2ynzY+PJMHeWCSvqJJQ/Zm1PeuTelvY2tJPFbQt9+rNxCJzNv7O6TGxmpXlZcXmi1xhYQLbtFbw4r23D5yKKVBGFtAkTkuUASdDSpvk151HWVssRVTrONxwXuIRCSrVwGDIWD8U0CvIVDWkZZ+5ANrfboKwCYKWPfHB8yc9+vvrluetbIipnZYJTV36VDfY73aZTS23mreMNzOXe/j/3vQMVh5ju40oGS+u68K/RzrgcmfXbEyHk+oHpb64dd2L4pmzvUV3HSk/49ljdnftp4+wq3EwxS1aHfEz++wKkNanZb1yA4UdaSNVZauX29SAW2K8bxZclmKh/2DlWh5hlxQBvg9hISMOi0mWuzmtSNPwDQ/prD15Tw7cn478HWqGXccFzifrWwm7FJZApEOqIJ0Pg6Y7ike8gdK1VmX8229q9tHFp/jvdVxI10rJN7WGoL3qndVp9GvrVatXNE0sFTDtDuVN6CvcEhFpRPuXRZ3UFsCzHszt9MZ5DlPRWnUhqPk3Xo+0rZhZWisJlP3mK603WBs5dQnMSWe+9rOSNcqupBoVNpQREff1oUrJFhRbMdfn6TeP9cYyAvbZU2Qbvyr3hpHouLlnDnaB01q4q+IsoLThiDzPXZQTQi+ai6CM=
file:
- ../dist/*.zip
- ../dist/*.deb
- ../dist/*.exe
file_glob: true
skip_cleanup: true
draft: true
on:
repo: toyobayashi/mishiro
tags: true