This commit is contained in:
Keith Paterson 2020-12-29 20:56:11 +01:00
parent e4363dd2a6
commit c5891498e7

View File

@ -4,14 +4,14 @@ dist: xenial
language: node_js language: node_js
workspaces: workspaces:
use: use:
- binaries - binaries
cache: cache:
directories: directories:
- node_modules - node_modules
- "$HOME/.electron" - "$HOME/.electron"
- "$HOME/.cache" - "$HOME/.cache"
addons: addons:
before_install: before_install:
install: install:
- source ~/.bashrc - source ~/.bashrc
- npm install -g xvfb-maybe - npm install -g xvfb-maybe
@ -20,67 +20,65 @@ node_js:
- 10.15.3 - 10.15.3
jobs: jobs:
include: include:
matrix:
- stage: Build binaries - stage: Build binaries
os: windows os: windows
script: script:
- npm run build - npm run build
- mkdir windows-binaries - mkdir windows-binaries
- mv -v build/flightgear-airports* windows-binaries/ - mv -v build/flightgear-airports* windows-binaries/
- ls -l windows-binaries - ls -l windows-binaries
workspaces: workspaces:
create: create:
name: windows-binaries name: windows-binaries
paths: windows-binaries paths: windows-binaries
- os: linux - os: linux
script: script:
- npm run build - npm run build
- mkdir linux-binaries - mkdir linux-binaries
- mv -v build/flightgear-airports* linux-binaries/ - mv -v build/flightgear-airports* linux-binaries/
- ls -l linux-binaries - ls -l linux-binaries
workspaces: workspaces:
create: create:
name: linux-binaries name: linux-binaries
paths: linux-binaries paths: linux-binaries
- os: osx - os: osx
script: script:
- npm run build - npm run build
- mkdir osx-binaries - mkdir osx-binaries
- mv -v build/flightgear-airports* osx-binaries/ - mv -v build/flightgear-airports* osx-binaries/
- ls -l osx-binaries - ls -l osx-binaries
workspaces: workspaces:
create: create:
name: osx-binaries name: osx-binaries
paths: osx-binaries paths: osx-binaries
- stage: Deploy - stage: Deploy
install: install:
- pwd - pwd
- tar -xzf ${CASHER_DIR}/osx-binaries-fetch.tgz - tar -xzf ${CASHER_DIR}/osx-binaries-fetch.tgz
- find -name flightgear-airports* - find -name flightgear-airports*
# - find -name windows-binaries - cp ./Users/travis/build/Portree-Kid/flightgear-airports/osx-binaries/*.dmg
# - find -name osx-binaries build/
# - find -name linux-binaries - cp ./C:/Users/travis/build/Portree-Kid/flightgear-airports/windows-binaries/*.exe
# - ls -l | grep "^d" build/
# - ls -l "C:" - cp ./linux-binaries/*.AppImage build/
- cp ./Users/travis/build/Portree-Kid/flightgear-airports/osx-binaries/*.dmg build/ - ls -l "build/"
- cp ./C:/Users/travis/build/Portree-Kid/flightgear-airports/windows-binaries/*.exe build/
- cp ./linux-binaries/*.AppImage build/
- ls -l "build/"
script: skip script: skip
workspaces: workspaces:
use: use:
- windows-binaries - windows-binaries
- linux-binaries - linux-binaries
- osx-binaries - osx-binaries
deploy: deploy:
skip_cleanup: true skip_cleanup: true
overwrite: true overwrite: true
draft: true draft: true
name: '0.0.28' name: 0.0.28
provider: releases provider: releases
api_key: api_key:
secure: JnHZdzg4AsEcRn4uQkn15ELd8KqSQBgC3cOPRAEFVsOCRhh8aH8WFwAG0uZIjwU1F4qinK0sAayYllc5WrjHZ4/93FNDES3H4hEE1K3WDXG0cVxAt1JiDWVq6meEQWKRNO8zoT4aZa6vigOQhnaS5PE3KcdsaD5N6tkHxI+W7a4qBIUtbMjceKSFVDflJLLBWmMibuQ1JZ9gT1FES4yN18wj/bMM8x8V3xM6m7FPKfiVtnD0IpJKYNDVPQOdw7nJpzvVIzYVEgUTiRY2nVbslJkB8Lllh6zAC4B5vc8UTACf/S+j2z1ofAGajY8x8b0K3UDhg7b7vfTmPpmTJl1ZBGB5scyhRDneIOMr15QiAyKfStHpwdCz8MLV7H/tugPM348riT+JqecARjk/rIgc18/tL6lKQA4P4FG4mGp5s+eq+AAg2fdhyj7rL6kLw+z5J9170ch+ot7Ju6BUJVmvRAWxAg+yXCzyKdfen8RL+R7tdwJ0nFawtnkxwwZwLnr0792mchjl4JK+Q0sEb5J8DmBR1WVL+L3TN6G9HwUrFsm2eVCHAi0k5ExJLYoHV54kg+7uD8upACh3LRFIIFcvQWu52a7VTTwY+5Gsz91o8sAcJImo4E8Ii0wmFhcDPQ3HHa1dUGOofhpMcgPG15lsgdumUeulPz6fUQ3IxzBc8Uo= secure: VXCzO5904hY79ulatlwL6iTrYrSZU8xhdEotLZU+i/qWmXjKo9VGbc2vEziHa+gb+TeMO/CQVMeMfrAqQrxwjVjXHdg5RaJCtX7s/pM1wf1vDF8buyZakzvtuP1wT8Qq/fSmNt9MH+GPzSQhfO1aamyEkRSKhQY2MxlF7DE6yLo4v9bh7p8SFSp7Y5VstjwoxgNfNIC28dHnsAdAaQcw9BEVcXmfFmibTOjCwP6CwmWJjD+/u47JXgkmU0uueNyl4d5vOVGrCYPyQDbglBNa/0N2XmRGMyyyhLbqw/TXenKdG8VPSNF7fhlf+OTDJ3Fwj617tqX7NtuFYyPoC9lgPTEtJzM8UdIWody/xmmeRHGRtekoLfVveLtrnq8Q8eJ3AZK2/oYfhWi72Xvfr7Z0nwwWXgCAgafbpL6ShxD3vjTFd8b/3Fr0f+V3rpcS0Vf8zLECPnS4shQIvbbMjmAsnwPXPhTbBLVD/RuHrc5vNmLixZhVtEI8HfL4GxzdTk889NWIA4VpFp4Wq8be+vu2FBV2M8Mh201CeB0tl/vT0aFPUYg9pzJjaBBXUCoG6PBXSBpVkV4DXmnj34mXGJ7vsC9+3fwYNDAfNG6yBxi1uy03JoJga07CtYXFcezT3BIopmiYRdujBW3YXwW2L2VurODZLJYl6cqk/f5kolVV/kE=
file_glob: true file_glob: true
file: build/* file: build/*
on: on:
branches: '0.0.28' branches: 0.0.28
repo: Portree-Kid/flightgear-airports repo: Portree-Kid/flightgear-airports