autoEdit 2 Documentation
1.0.13
1.0.13
  • Introduction
  • Overview
    • Intro
      • Development approach
      • from 1.0.5 to 1.0.6
    • Architecture Overview
      • Lo fi Design Sketches
      • High fidelity sketches in HTML
    • Support the project
    • documentation section template
    • Build / Deployment
      • Deployment/build for Mac OS X
      • Deployment / Build for Linux
      • Deployment / Build for Windows
      • Travis CI continuous build
        • previous travis setup
  • R&D Doc
    • About R&D doc section
    • Transcription & Media Processing
      • Transcription json
      • Transcriber
        • audio to video
        • STT sdks
          • IBM Watson STT
          • Gentle STT
          • Pocketsphinx
      • Video preview conversion
      • Read metadata
    • Hypertranscript
    • Selections, Annotations, Papercuts
      • Selections
      • Annotations
      • Tags
    • Paper-edit
      • Paper-edit json
      • search-filter
      • drag-and-drop
      • Preview Paper-edit video
    • Export
      • EDL export
      • XML export
      • mp4 export
  • Appendix
    • Dev configuration
    • Current db setup
    • EDL Format
    • Reusable components
    • Prerequisites
    • Testing
    • Updating automated documentation
    • ffmpeg and ffprobe in electron
    • Adding STT services
  • Appendix - Data structures
    • IBM Watson json specs
    • Gentle Json transcription specs
    • Pocketsphinx results
    • autoEdit transcription Json
  • QA List
    • QA Intro
  • Adobe Panel
    • autoEdit Adobe CEP Panel dev setup
      • Adobe Extensions HostList codes
    • autoEdit Adobe CEP Panel integration overview
    • Jsx functions for Adobe CEP autoEdit adobe Panel
    • Packaging and distributing Adobe CEP Extensions
      • Packaging signing Adobe CEP Panel in details
      • Submit to Adobe
  • Project Page
    • Build project page
    • Build/update demo front end page
  • Roadmap
    • Improvements
    • Roadmap
      • Paper-editing Roadmap
      • Extra Features Roadmap
      • Future Roadmap
        • Live video editing
        • Social Media Export
        • Translate transcriptions
        • Web app
          • Multi-user collaboration
        • Searchable Editable Archive
        • NLP insights
        • Slack/Chat bot integration
        • Interactive dev tool
        • Phone mms integration with twillio
        • B-roll computational photography
Powered by GitBook
On this page
  • github + Travis CI
  • Travis CI Integration
  • Electron builder documentation
  1. Overview
  2. Build / Deployment

Travis CI continuous build

current travis setup

PreviousDeployment / Build for WindowsNextprevious travis setup

Last updated 6 years ago

There is no deployment as such as it's electron app, so the build described above serves as a packaging of the app for release.

However As of version 1.0.8 support is added for Linux thanks to , . On commit to master there is a continuous built setup on Travis CI that builds and adds an up to date linux and mac os x release to the release section .

Inspired by this In the latest iteration it use electron-builder -mwl --publish alwayson Travis CI Mac OSX instance to package for these platforms,

This is an attempt to capture some notes on the steps of setting up travis CI integration in the current implementation

github + Travis CI

Travis CI Integration

1 - enable Travis CI for your repository as

2 - Set up GITHUB_TOKEN in Travis CI for this to work. as

(Direct link to )

Add a .travis.yml file to your repository

os: osx
osx_image: xcode9.4
language: node_js
node_js: "8"
sudo: required

env:
  global:
    - ELECTRON_CACHE=$HOME/.cache/electron
    - ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder

# specifying npm version as
# by default travis seemed to sue 4.2.0
# https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#using-a-specific-npm-version

install:
  - node --version
  - npm i -g npm@5
  - npm --version
  - npm install
  - npm run make_js

script:
  - npm run build:mwl:publish:always;
  - ls ./dist;
  - find . | grep mac.zip;
  - find . | grep x86_64.AppImage;
  - find . | grep .exe;

branches:
  except:
    - # Do not build tags that we create when we upload to GitHub Releases
    - /^(?i:continuous)/

package.json

added to the the npm scripts

"scripts": {
  ...
    "build:mwl:publish:always": "electron-builder -mwl --publish always",
...
}
"build": {
    "publish": {
      "provider": "github",
      "releaseType": "prerelease",
      "vPrefixedTagName": false
    },
    ....

Electron builder documentation

more on electron builder here

github repo

@probonopd
#36
under release section
issue
described here
described here
Github token here
electron-userland/electron-builder
publishing artifacts
configuration