Permalink
Browse files

Update travis build to produce osx and linux artifacts, and add appveyor

  • Loading branch information...
pfrazee committed Oct 31, 2017
1 parent f6007c2 commit 26b5405108a4ff975e3bf7b9aafc5a6acbe5d0d9
Showing with 47 additions and 8 deletions.
  1. +28 −8 .travis.yml
  2. +19 −0 appveyor.yml
View
@@ -1,20 +1,21 @@
notifications:
email: false
env:
- ELECTRON_CACHE=$HOME/.cache/electron
os:
- linux
- osx
language: node_js
node_js:
- "8"
node_js: "8"
cache:
directories:
- "node_modules"
- "app/node_modules"
- "tests/node_modules"
directories:
- node_modules
- app/node_modules
- tests/node_modules
- $HOME/.cache/electron
before_install:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
@@ -26,6 +27,7 @@ install:
- npm run rebuild
- cd ./tests/
- npm install
- cd ..
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
@@ -35,3 +37,21 @@ before_script:
script:
- cd ./tests/
- npm test
- cd ..
- if [ ! -z "$TRAVIS_TAG" ]; then npm run release; fi
deploy:
provider: releases
api_key:
secure: RNbGl8IGSI4jJxdz3f7wj8c1oAQZZ8ewDkK/pjjTimxXbmRUKgeV1/GSkJOxOCmWKXRvYq1/qPYjW2nE99dpg9fd9+q+NxaIMeEOty6ZtNLXRvut46yqhsJIY8Hy2lzFbTSzJ3crUwCLPD1m4NdXPHvMzXiGO+BFYtrwiCsVcg6VDGlj7x2vkfaux16VCbuJzPqVoslTzVmFE8nwCU8zFudvGyWJttn5PqLit1OZ6NB+5T+haBN+y8zLW1q7XuULFkz5OEoaBz3l/tW54sXKeopOm7ccRSMsk4oZXjn12Vu9cErc22zX4zw6OlWHDWecNShcxOoOPmNQqoPyzGqeGqRqduwDcKYoAgPCLNgE2x9aAwfOrGJlv2YSlTzKF5c/ocQGrvdm8wUXS6XiEKRyGu9g2ljMW2I2qnBPbJjTFNCxLCmvmZVZHf182K6+CbHLdrLVi5uWRo7aypdi0t9+FmZAA0btJw27+v8qnOeaQFuU2mfwMbyTMUc3+5DlLsXR2FDY9weokptHimNtbJjgx3kxFvBSJCpIN4YpOwFJ+mlXXOf4l23I3RMaxKUSKWQE2YI3r+WJiVW9YcN9DctXzOMxjHFVSCiEtiAdAAjbmvafWdE5dm+ojA70P3HpwLVHA0pP8/KkRjXcIajfZ/l0vtOkGYufhQRSmgmY14iWn4A=
file:
- dist/*.AppImage
- dist/*.dmg
- dist/*.zip
- dist/*.exe
file_glob: true
skip_cleanup: true
on:
repo: beakerbrowser/beaker
tags: true
View
@@ -0,0 +1,19 @@
platform:
- x64
cache:
- node_modules
- '%USERPROFILE%\.electron'
init:
- git config --global core.autocrlf input
install:
- ps: Install-Product node 8 x64
- yarn
- yarn run rebuild
build_script:
- yarn run release
test: off

0 comments on commit 26b5405

Please sign in to comment.