flightgear-airports-old/.travis.yml

83 lines
3.3 KiB
YAML
Raw Normal View History

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:
2020-12-30 03:56:11 +08:00
- binaries
2020-06-26 02:57:55 +08:00
cache:
directories:
- node_modules
- "$HOME/.electron"
2020-12-30 03:56:11 +08:00
- "$HOME/.cache"
addons:
before_install:
2020-06-26 02:57:55 +08:00
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:
2020-12-30 03:56:11 +08:00
- npm run build
- mkdir windows-binaries
- 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:
2020-12-30 03:56:11 +08:00
- npm run build
- mkdir linux-binaries
- 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:
2020-12-30 03:56:11 +08:00
- npm run build
- mkdir osx-binaries
- 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:
2020-12-30 03:56:11 +08:00
- pwd
2021-02-15 16:08:41 +08:00
- find -name *osx-binaries*
- tar -xzf ${CASHER_DIR}/osx-binaries-fetch.tgz
2020-12-30 03:56:11 +08:00
- find -name flightgear-airports*
2020-12-30 04:08:23 +08:00
- 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/
2020-12-30 03:56:11 +08:00
- cp ./linux-binaries/*.AppImage build/
- 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-12-30 03:56:11 +08:00
- windows-binaries
- linux-binaries
- osx-binaries
2020-06-25 22:55:42 +08:00
deploy:
skip_cleanup: true
overwrite: true
draft: true
2021-06-11 19:55:28 +08:00
name: '0.0.33'
2020-06-25 22:55:42 +08:00
provider: releases
api_key:
2021-06-29 14:17:30 +08:00
secure: FElxoWQZKIcc9gHFY4yp1CsqvJr76BWdDrp7VsgPN7PuEoZht5Boic3fWbxKyT1fKGr8Yem6CJBXQjaqIZiWWMxuF3KYmsdOK0YRpj6WCePpl0AdZcnWDMsAGuC3ornb1CB3R6x8fx7SMMl8Ghc9/JFDUdjduvT9A0KZ1JrTZLYpP1iOq+aAW0H3byu+tNfTDvee9MzMAtjKriDz0L5z94VQ1lEmuc79qUmNvv9gIJUoNOI58QCDUuOEz2eZPooMz5cOdaupzBK130V7ki/UWbP3meXmzRKN6/iSA9iXiIrBerFtA4wG6hVvKMvKP7d7NalWAtpzOElFivlo7tp+Z1SfjSfZHmZG/PMyndVh1VPmMzX6a76qLyJFGIvOZKOkzzmVyGSVGlUHm8GCkw5wd0S3m6f1eA/YJO5c8aduC7M+qZSuEVdzaAW5xf8Fb1/rs7jELZPxuzio9i+T7vRQ1OFrCBtExQAuO9EyfaIvaVQAImvhOPiza6zkfEkF622LIQZIBL9HZ1OeKKrdWaWG98nUGWDIFXb+B4IBM1cJIPRYmaAbnWVVCBzIGxcb1pMb/zzSocu9poEWCY/CVHuOG7Xg45pghTunPS54E9qxvBx8jDIGz4s3bRwWnBI0DJ5b6aBNqMpghmpKYMCoviT+RwCIKOENlFdrPWH5pk9CmRc=wYHBe6BJtqhkjodvabd6fSX5blecd/y9sSfHV9prk7PRFxkpkp4Fw/sp086SFlunTGmTn359T1mhgr0MD/VDRXu34PEdn47Jpu8CTPfnihiK/3iRaGqW0qLqhmpd6GYc1ecm9sahxYwXgWyCtGZQbdHvrCIiS/Zm1hQtg3Q0O3eYeF+zQXrfCCTIhLLy2egID4Z23RbK620y3dqcSfbWfLzPpXr+2MYVrNZ3gukKiVauf2kBYPNzMTKEtIBfAGHiwQwlCm/fRN5NcL9bwMGmMGktJkIHgpAa2A9nnyw7EadKEKqVw4tI/j1813/FDWlJZBg89RNsZJ0QGSMQcMB0h1XkWZFPV02gqMN2z2eNXsvTJ882g8UkCBzPWYsRQGNKEx9FUFtZO9HAjOnnpAsdTcaQYTow7BiVmPBePtCFKsPyqMgJUsuz6WhUmfJ5FMbMDKn1N6ymyBYmTic5KrT3FRR3s7vFyTNdfNfwd7aNMnZSGb2uHLZyGjrC2QFK3AE/F+jP2bMu/9rcuLcp/CSLpxpN5F6RpVVfqY8X9joEUeXOSd4kO7OPBsg4lxDCqzVmER/X+MEwM57cmyutTtaREZEDTKCoEhWtcMHqLpCojPWbMsKnMh7NRARNWETe76tcwO88K2LqQFvhhILeTXKlWDpNcbGwqSinF62RXG4DxUQ=
2020-06-25 22:55:42 +08:00
file_glob: true
2020-06-26 05:01:51 +08:00
file: build/*
2020-06-25 22:55:42 +08:00
on:
2021-06-11 19:55:28 +08:00
branches: '0.0.33'
2020-06-25 22:55:42 +08:00
repo: Portree-Kid/flightgear-airports