Files
agent/.travis.yml
Róbert Kiss 121807a65a Add 'New update available' dialog to the electron version (#299)
* build(tsconfig): Rename root tsconfig.json -> tsconfig.base.json

* feat(auto-update): Add update dialog

When new update available than new message will visible of the top of the screen with 2 buttons 'Update' and 'Close'.
- Update button: Update the application (close and restart)
- Close button: Hide the updatePanel

* fix(auto-update): Add types to the event methods

* style: Add comma after SafeStylePipe import

I forgot add the comma when I rebased the branch

* fix(auto-update): Use electron-is-dev package to detect dev build

I removed the isDev() function from the shared util library because it is electron specific code.

* ci: Change osx_image: xcode8.3

Recommended after the last travis upgrade

* feat(auto-update): Add auto update settings page and save config save on electron platform

* ci: Fix osx image

* ci: Upgrade the electron builder -> 19.6.1

The builder now use the 2 package.json structure and build only
the necessary dependencies.
2017-06-22 14:22:54 +02:00

54 lines
1.4 KiB
YAML

language: c
sudo: false
dist: trusty
env:
global:
- ELECTRON_CACHE=$HOME/.electron
- secure: "JNX+RLuiPeubWwm7KdJBP6ugdHH1TWkmWNvmY4tH5WEhck5zPrLWMUNfAxtyKQRWJXHJis2yR65pYtVThMM4pQ6X2C0qcOy92JWCQ2K5iy9HUNcA7Je3jZABkgiBYo8A1EpiMB/lYMB13GXWT18bMVB0SltVB8fpt29J+fzTaZN+Q19RietjGfKYar3/s9weD8Ky28+dJW1Ge24ALjq3GPwuUZz5qLMGLwH3zbbL1GF81r3ICjWVYA2E+G+JL7+BnHUvyKHs2qGIylrngfe/BbObubCTiTsUgU3LfsRruoWxK4xquvypVrj7nZAOQ7V61ZBQKOxhUMjGazfYSCS1oL09XbPsMCAIGI3v5/GCq4typv/4cgdi2RJlEw6zJC5lAHj8ivVsR55A2Ga65XGxXCoaYqoWv56rzth+4jZP6mrxvepuiSW60pBDUhwTb685WA/5jX6w343AWaXBWIEe4tGORYgujwsKp5AoBzcyuvY/gm34Ii4rYngdog8aWiXwVthCCrRbGiCB9cU929n3nxiXZk4MvQzQQoyLXnwaamK8EyQg4aKx0SQKpUT63XlyKDD6NwqjvyORYe/NIgPng8TZHMKjtmvjoT/rfolAJK2XTPH9vTDU7NsPWIagr7exMxDa1gqeldWwqQW+2veUEVwKNlX2GS+hQ6xR2Q1oU8s="
matrix:
fast_finish: true
include:
- os: osx
osx_image: xcode8.3
- os: linux
env: CC=clang CXX=clang++ npm_config_clang=1
compiler: clang
cache:
directories:
- node_modules
- $HOME/.electron
- $HOME/.cache
addons:
apt:
packages:
- libgnome-keyring-dev
- libsecret-1-dev
- icnsutils
install:
- nvm install
- npm install
before_script:
- npm run build
- npm run build:test
- npm run lint
script:
- npm run test
- npm run release
cache:
directories:
- node_modules
addons:
apt:
packages:
- build-essential
- libudev-dev