Skip to content

Commit

Permalink
Fix broken Travis config
Browse files Browse the repository at this point in the history
* Doesn't also build the Linux or Mac manager on server deploy
* Correctly builds a Windows binary on manager release (although we still have to manually upload build artifacts)
* Renames the Shadowbox deployment step
  • Loading branch information
Jonathan Cohen committed Jan 13, 2021
1 parent e8d430a commit 5b25262
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ stages:
if: type = cron
- name: Test
if: type != cron
- name: "deploy"
- name: "Deploy Server"
if: tag =~ ^server-
- name: "Manager Release"
if: tag =~ ^v[0-9]
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
sudo mv docker-compose /usr/local/bin
- yarn do shadowbox/docker/build && cd src/shadowbox/integration_test && ./test.sh

- stage: deploy
- stage: "Deploy Server"
name: Server Docker Image
sudo: required
services: docker
Expand All @@ -83,16 +83,8 @@ jobs:
- docker tag outline/shadowbox quay.io/outline/shadowbox:daily
- docker push quay.io/outline/shadowbox:daily

- stage: deploy
name: Manager Linux
addons:
apt:
packages:
- rpm
script: yarn do server_manager/electron_app/package_linux

# https://www.electron.build/multi-platform-build
- stage: deploy
- stage: "Manager Release"
name: Manager Windows
sudo: required
services: docker
Expand All @@ -106,11 +98,6 @@ jobs:
electronuserland/builder:wine
/bin/bash -c "yarn do server_manager/electron_app/package_only_windows" || travis_terminate $?

- stage: deploy
name: Manager macOS
os: osx
script: yarn do server_manager/electron_app/package_macos

# Note that because we cannot currently sign Windows binaries on Travis,
# these must be manually built and uploaded to the releases page.
- stage: "Manager Release"
Expand Down

0 comments on commit 5b25262

Please sign in to comment.