flightgear-airports-old/.travis.yml

82 lines
2.6 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
- tar -xzf ${CASHER_DIR}/osx-binaries-fetch.tgz
- 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
2020-12-30 04:08:23 +08:00
name: '0.0.27'
2020-06-25 22:55:42 +08:00
provider: releases
2020-12-30 03:56:11 +08:00
api_key:
2020-12-30 05:08:23 +08:00
secure: C+xfU2GatGzATuyZfONg7YZM1eWfKRCWVnLM1J9kBwh0m4aDLNCIRkm5LpD2DZdauF4n1N5/5j3/56b/CigglDvjz2CgzBH8oqDelCbKCWneeARTOO5NjRPbjEAUnE+qNeVnfW3ia6nFvD6rHWScK3MFAd/JtzYICuHF577+OBmDpe7X6nGlsUC7PH8Sc+nSF70MGQFyRklEEEzbMzIdaHumO4Q+KBDY5Zv6tVSsW1otG6aPJMXVzX9hcx6fLpkJphDK19heZvfvRMu50jwSL+Q7r3bN8eVTTahwLGfgwZP5HyM3JCisc1zZ2xeCUsqs+kGHrN/t/8MDfW0uN0tRYfZJxL7HQK9A06ZK63gDG0vCqYEuRWlAixGk0BF1UZ7AQryO6N0HgTZkOOqqoZb4jVvoLo6ak6PXdCUaqStf0f8hHptgCYi4ehvcRiwmamBnUukcFzVfGNS22j5xSCFZ/KTPH/JSPAIV3W8EFxZ1vjChFmVXT22nB4IVd5eDRWov4Q458Tk3IaPlu5yX05pZ/6w1alT6N3cZVkJ/cGjlFoa8GKmEbdn/ptqQECFImiGgrizMjkp4tinK4yAfcw9aDtG8kWThmPw1i3haSBhZgjI+VAXh0+r3+GkLMeDgn7wrGIuzYA2EX61K/O6I3a6ybG83NGoLaPfNlPup3YUjuF8=
2020-12-30 03:56:11 +08:00
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 04:08:23 +08:00
branches: '0.0.27'
2020-06-25 22:55:42 +08:00
repo: Portree-Kid/flightgear-airports