flightgear-airports-old/.travis.yml
Keith Paterson 44e289f3ae v0.0.28
2021-01-12 20:39:15 +01:00

82 lines
2.6 KiB
YAML

osx_image: xcode8.3
sudo: required
dist: xenial
language: node_js
workspaces:
use:
- binaries
cache:
directories:
- node_modules
- "$HOME/.electron"
- "$HOME/.cache"
addons:
before_install:
install:
- source ~/.bashrc
- npm install -g xvfb-maybe
- npm install
node_js:
- 10.15.3
jobs:
include:
- stage: Build binaries
os: windows
script:
- npm run build
- mkdir windows-binaries
- mv -v build/flightgear-airports* windows-binaries/
- ls -l windows-binaries
workspaces:
create:
name: windows-binaries
paths: windows-binaries
- os: linux
script:
- npm run build
- mkdir linux-binaries
- mv -v build/flightgear-airports* linux-binaries/
- ls -l linux-binaries
workspaces:
create:
name: linux-binaries
paths: linux-binaries
- os: osx
script:
- npm run build
- mkdir osx-binaries
- mv -v build/flightgear-airports* osx-binaries/
- ls -l osx-binaries
workspaces:
create:
name: osx-binaries
paths: osx-binaries
- stage: Deploy
install:
- pwd
- tar -xzf ${CASHER_DIR}/osx-binaries-fetch.tgz
- find -name flightgear-airports*
- 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/
- ls -l "build/"
script: skip
workspaces:
use:
- windows-binaries
- linux-binaries
- osx-binaries
deploy:
skip_cleanup: true
overwrite: true
draft: true
name: '0.0.28'
provider: releases
api_key:
secure: xBF7Jld2WbEXVg5QOxZIC/T2hlKOkajebrNi7kfE8vGVRuZG1cbHWEtBVPxggxmIWvzSyKOACSufFywx8rjgXNP3e310+dp1WuEnOBlkTr6HO3FneTue5gKoPsFB8/r8/BMPWqY50lS2Vei367eINsdNiw4wWv2bzbB6uNBlo9ILRZjbyWnUv+j8+h9gmCg2nHLmHBGhXRMLqYFEHYvq1LrV+tjMNtMBdNiRVYBjpeWI1y7TMsxpdwKvrYF84L7r9IOkjg2DHIACy4SMnIeKi6b7Lr83aK5QwksHByMETxjaNPxgvmg9hPFaRoJsvwOLdgSDU/VpEar8uweOnumt2bdqdwV2t+99A1g41KcvbUI1aATPOWhpGxW+WLBBz40hpDBBwWJ/Il4rMUHfsQ162xoO9NvlKp4IE7pgK3ydGlJx6mYzMx3QB2eKnTFySaIekrkzZPIS3GX50cMclRw6jS3fueUmtNxjIv4hNHgRqE6pQfxhQnaUkHjdP7nglYs0muJotM2Tksyw3YRlLoFzc/siktCDr8ZXxj+rlV3TeoH2vba7f4zr0tYY9vlGAUlcrkBoJ4kDeA8Hm0GnbpWHBsSY4g199jOkgbr/kJ0HDrELv/JJl1c8yp3uSlcN82UgNS15H60D+0zg3Ls4KxvqXslrPh815Se5FqKoEpvZ5VQ=
file_glob: true
file: build/*
on:
branches: '0.0.28'
repo: Portree-Kid/flightgear-airports