-
Notifications
You must be signed in to change notification settings - Fork 6
/
.travis.yml
32 lines (32 loc) · 943 Bytes
/
.travis.yml
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
language: node_js
node_js:
- lts/dubnium
os:
- linux
dist: bionic
before_install:
- curl -sL https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh -o install_nvm.sh
- bash install_nvm.sh
- command -v nvm
- curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
- echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update && sudo apt-get install --no-install-recommends yarn
- nvm install lts/dubnium && nvm use lts/dubnium && npm install -g yarn
- yarn install
cache:
apt: true
jobs:
include:
# Linux
- stage: build
name: 'pShare Ubuntu Package'
script:
- ./build.linux.sh
# Windows
- stage: build
name: 'pShare Windows Installer'
install:
- sudo dpkg --add-architecture i386
- sudo apt install wine64
script:
- ./build.win.sh