Skip to content

Commit

Permalink
Merge pull request #43 from duality-solutions/TravisCI
Browse files Browse the repository at this point in the history
Add Travis CI configuration file
  • Loading branch information
AmirAbrams authored Aug 31, 2019
2 parents 0848687 + 3da8dcd commit 29a96fc
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
language: node_js
node_js:
- 8.16.1
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 8.15.0 && nvm use 8.15.0 && npm install -g yarn
- yarn install
cache:
apt: true
jobs:
include:
# Linux
- stage: build
name: 'pShare Ubuntu Package'
script:
- yarn dist --linux
# Windows
- stage: build
name: 'pShare Windows Installer'
install:
- sudo dpkg --add-architecture i386
- wget -nc https://dl.winehq.org/wine-builds/winehq.key
- sudo apt-key add winehq.key
- sudo apt-add-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
- sudo apt-get update
- sudo apt-get install --install-recommends winehq-stable
script:
- yarn dist --win
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "pshare",
"version": "0.5.8",
"description": "Secure and private peer to peer file sharing",
"homepage": "https://duality.solutions/pshare",
"license": "UNLICENSED",
"author": {
"name": "HiddenField",
Expand Down

0 comments on commit 29a96fc

Please sign in to comment.