2020-06-25 23:05:38 +08:00
|
|
|
osx_image: xcode8.3
|
|
|
|
sudo: required
|
|
|
|
dist: xenial
|
|
|
|
language: node_js
|
2020-06-26 02:57:55 +08:00
|
|
|
workspaces:
|
|
|
|
use:
|
|
|
|
- binaries
|
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- node_modules
|
|
|
|
- "$HOME/.electron"
|
|
|
|
- "$HOME/.cache"
|
|
|
|
addons:
|
|
|
|
before_install:
|
|
|
|
install:
|
|
|
|
- source ~/.bashrc
|
|
|
|
- npm install -g xvfb-maybe
|
|
|
|
- npm install
|
2020-06-25 23:05:38 +08:00
|
|
|
node_js:
|
|
|
|
- 10.15.3
|
2020-06-25 22:14:36 +08:00
|
|
|
jobs:
|
2019-11-06 05:43:18 +08:00
|
|
|
include:
|
2020-06-26 03:13:20 +08:00
|
|
|
- stage: Build binaries
|
2020-06-26 03:25:37 +08:00
|
|
|
os: windows
|
2020-06-26 13:40:38 +08:00
|
|
|
script:
|
|
|
|
- npm run build
|
2020-06-26 14:31:30 +08:00
|
|
|
- mkdir windows-binaries
|
2020-06-26 16:55:15 +08:00
|
|
|
- mv -v build/flightgear-airports* windows-binaries/
|
|
|
|
- ls -l windows-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
workspaces:
|
2020-06-26 03:42:27 +08:00
|
|
|
create:
|
|
|
|
name: windows-binaries
|
2020-06-26 13:20:34 +08:00
|
|
|
paths: windows-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
- os: linux
|
2020-06-26 13:40:38 +08:00
|
|
|
script:
|
|
|
|
- npm run build
|
2020-06-26 17:03:11 +08:00
|
|
|
- mkdir linux-binaries
|
2020-06-26 16:55:15 +08:00
|
|
|
- mv -v build/flightgear-airports* linux-binaries/
|
|
|
|
- ls -l linux-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
workspaces:
|
|
|
|
create:
|
|
|
|
name: linux-binaries
|
2020-06-26 13:20:34 +08:00
|
|
|
paths: linux-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
- os: osx
|
2020-06-26 13:40:38 +08:00
|
|
|
script:
|
|
|
|
- npm run build
|
2020-06-26 14:31:30 +08:00
|
|
|
- mkdir osx-binaries
|
2020-06-26 16:55:15 +08:00
|
|
|
- mv -v build/flightgear-airports* osx-binaries/
|
|
|
|
- ls -l osx-binaries
|
2020-06-26 03:13:20 +08:00
|
|
|
workspaces:
|
|
|
|
create:
|
|
|
|
name: osx-binaries
|
2020-06-26 13:20:34 +08:00
|
|
|
paths: osx-binaries
|
2020-06-25 22:55:42 +08:00
|
|
|
- stage: Deploy
|
2020-06-26 15:30:09 +08:00
|
|
|
install:
|
|
|
|
- pwd
|
2020-07-01 21:17:03 +08:00
|
|
|
- tar -xzf ${CASHER_DIR}/osx-binaries-fetch.tgz
|
2020-06-26 16:34:44 +08:00
|
|
|
- find -name flightgear-airports*
|
2020-07-01 21:37:33 +08:00
|
|
|
# - find -name windows-binaries
|
|
|
|
# - find -name osx-binaries
|
|
|
|
# - find -name linux-binaries
|
|
|
|
# - ls -l | grep "^d"
|
|
|
|
# - ls -l "C:"
|
|
|
|
- cp ./Users/travis/build/Portree-Kid/flightgear-airports/osx-binaries/*.dmg build/
|
|
|
|
- cp ./C:/Users/travis/build/Portree-Kid/flightgear-airports/windows-binaries/*.exe build/
|
|
|
|
- cp ./linux-binaries/*.AppImage build/
|
2020-06-26 17:56:46 +08:00
|
|
|
- ls -l "build/"
|
2020-06-26 15:30:09 +08:00
|
|
|
script: skip
|
2020-06-25 22:14:36 +08:00
|
|
|
workspaces:
|
2020-06-25 22:55:42 +08:00
|
|
|
use:
|
2020-06-26 03:13:20 +08:00
|
|
|
- windows-binaries
|
|
|
|
- linux-binaries
|
2020-07-01 21:49:22 +08:00
|
|
|
- osx-binaries
|
2020-06-25 22:55:42 +08:00
|
|
|
deploy:
|
|
|
|
skip_cleanup: true
|
|
|
|
overwrite: true
|
|
|
|
draft: true
|
2020-12-30 02:38:37 +08:00
|
|
|
name: '0.0.28'
|
2020-06-25 22:55:42 +08:00
|
|
|
provider: releases
|
2020-12-28 04:57:42 +08:00
|
|
|
api_key:
|
2020-12-29 05:33:38 +08:00
|
|
|
secure: JnHZdzg4AsEcRn4uQkn15ELd8KqSQBgC3cOPRAEFVsOCRhh8aH8WFwAG0uZIjwU1F4qinK0sAayYllc5WrjHZ4/93FNDES3H4hEE1K3WDXG0cVxAt1JiDWVq6meEQWKRNO8zoT4aZa6vigOQhnaS5PE3KcdsaD5N6tkHxI+W7a4qBIUtbMjceKSFVDflJLLBWmMibuQ1JZ9gT1FES4yN18wj/bMM8x8V3xM6m7FPKfiVtnD0IpJKYNDVPQOdw7nJpzvVIzYVEgUTiRY2nVbslJkB8Lllh6zAC4B5vc8UTACf/S+j2z1ofAGajY8x8b0K3UDhg7b7vfTmPpmTJl1ZBGB5scyhRDneIOMr15QiAyKfStHpwdCz8MLV7H/tugPM348riT+JqecARjk/rIgc18/tL6lKQA4P4FG4mGp5s+eq+AAg2fdhyj7rL6kLw+z5J9170ch+ot7Ju6BUJVmvRAWxAg+yXCzyKdfen8RL+R7tdwJ0nFawtnkxwwZwLnr0792mchjl4JK+Q0sEb5J8DmBR1WVL+L3TN6G9HwUrFsm2eVCHAi0k5ExJLYoHV54kg+7uD8upACh3LRFIIFcvQWu52a7VTTwY+5Gsz91o8sAcJImo4E8Ii0wmFhcDPQ3HHa1dUGOofhpMcgPG15lsgdumUeulPz6fUQ3IxzBc8Uo=
|
|
|
|
file_glob: true
|
2020-06-26 05:01:51 +08:00
|
|
|
file: build/*
|
2020-06-25 22:55:42 +08:00
|
|
|
on:
|
2020-12-30 02:38:37 +08:00
|
|
|
branches: '0.0.28'
|
2020-06-25 22:55:42 +08:00
|
|
|
repo: Portree-Kid/flightgear-airports
|