Skip to content

Commit

Permalink
Merge pull request #131 from kaczmarj/enh/building
Browse files Browse the repository at this point in the history
ENH: build for multiple linux distros + copy client info in travis
  • Loading branch information
smpadhy authored Jan 29, 2018
2 parents 8e2dee0 + bfdbabf commit 1bc8749
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ matrix:
- os: linux
sudo: required
services: docker
language: generic


cache:
Expand All @@ -28,6 +29,14 @@ cache:
- $HOME/.cache/electron
- $HOME/.cache/electron-builder

before_script:
# Replace clientId and clientSecret values in app-config.js with environment
# variable values.
- cd eapp/config/
- sed -i -e "s/exports.clientId = ''/exports.clientId = \"$clientId\"/g" app-config.js
- sed -i -e "s/exports.clientSecret = ''/exports.clientSecret = \"$clientSecret\"/g" app-config.js
- cd ../../

script:
- |
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,15 @@
"appId": "org.repronim.brainverse",
"linux": {
"category": "Education",
"target": [
"AppImage"
]
"target": ["AppImage", "deb", "rpm"]
},
"mac": {
"category": "public.app-category.education",
"icon": "build/icon.icns"
}
},
"keywords": [],
"author": "Smruti Padhy",
"author": "Smruti Padhy <[email protected]>",
"license": "Apache 2",
"devDependencies": {
"chai": "^3.5.0",
Expand Down

0 comments on commit 1bc8749

Please sign in to comment.