-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
39 lines (39 loc) · 1.19 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language:
- node_js
- python
node_js:
- "10.16.0"
python:
- "3.6"
cache:
- npm
- pip
sudo: true
before_script:
export TZ=Australia/Perth
jobs:
allow_failures:
- script: python3 Scripts/lint.py
include:
- stage: Lint
script: sudo npm install -g eslint eslint-config-google htmlhint
script: sudo -H pip3 install cpplint
script: python3 Scripts/lint.py
- stage: Build & release
script: echo "Installing dependencies"
script: npm install
script: npm install --save-dev electron-packager
script: echo "Building for all available platforms..."
script: node ./node_modules/electron-packager/bin/electron-packager.js . RoboHUD --platform=linux --arch=x64 --icon=Assets/icon.png --out=Builds && zip Builds/Linux-x64.zip Builds/RoboHUD-linux-x64 -r
deploy:
provider: releases
api_key: $personal_access_token
skip_cleanup: true
file:
- Builds/Linux-x64.zip
name: Automatic Travis build on $(date +'%d.%m.%Y at %R')
draft: true
prerelease: true
body: "Build automatically generated by Travis CI"
on:
tags: true