Lightcord/.travis.yml

43 lines
1.1 KiB
YAML
Raw Permalink Normal View History

language: node_js
2020-09-12 16:04:07 +02:00
node_js: "12"
before_install:
- npm i
2020-09-06 15:05:28 +02:00
jobs:
include:
- stage: Linux & Mac Build
os: osx
2020-09-12 16:04:07 +02:00
osx_image: xcode10.2
env:
- ELECTRON_CACHE=$HOME/.cache/electron
- ELECTRON_BUILDER_CACHE=$HOME/.cache/electron-builder
2020-09-06 15:05:28 +02:00
before_cache:
2020-09-12 16:04:07 +02:00
- rm -rf $ELECTRON_BUILDER_CACHE/wine
2020-09-06 15:05:28 +02:00
script:
2020-10-20 22:34:34 +02:00
- npm run devInstall
2020-09-06 15:05:28 +02:00
- npm run build
2020-09-17 17:20:01 +02:00
# - stage: Windows Build
# os: windows
# script:
# - export NPM_CONFIG_PREFIX=C:\\npm_prefix
# - export PATH="/c/npm_prefix:$PATH"
# - npm i -g npm@latest
# - npm run devInstall
# - npm run build
2020-09-17 19:45:51 +02:00
# - stage: GitHub Release
# script:
# - export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
# - git tag $TRAVIS_TAG
# deploy:
# provider: releases
# prerelease: true
# api_key: "$GH_TOKEN"
# cleanup: false
# file:
2020-09-17 17:20:01 +02:00
# - builds/lightcord-win32-ia32.zip
# - builds/lightcord-win32.exe
2020-09-17 19:45:51 +02:00
# - builds/lightcord-linux-x64.zip
# - builds/lightcord-darwin.zip
# on:
# tags: true