Skip to content

Commit

Permalink
update build
Browse files Browse the repository at this point in the history
Signed-off-by: Fabiano Arruda <blank@email.ok>
  • Loading branch information
Fabiano Arruda committed May 2, 2020
1 parent 6baee2a commit 3411590
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 29 deletions.
44 changes: 15 additions & 29 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ branches:
- feature/*
- issue/*

stages:
- build
- name: github-release
if: branch = master
os:
- linux
- osx
- windows

addons:
snaps:
Expand All @@ -24,28 +24,14 @@ before_install:
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install hub; fi
- if [ "$TRAVIS_OS_NAME" = "windows" ]; then choco install make; fi

jobs:
include:
- os: linux
dist: bionic

- os: osx
osx_image: xcode11.3

- os: windows

- stage: build
name: "Build"
script:
- pushd sender
- make build-release
- popd
- pushd receiver
- make build-release
- popd

- stage: github-release
name: "GitHub Release"
script:
- make release
- make release-binaries
- pushd sender
- make build-release
- popd
- pushd receiver
- make build-release
- popd

if: branch = master
script:
- make release
- make release-binaries
1 change: 1 addition & 0 deletions ci/add-release-assets.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env bash

git fetch --all
latestTag="$(git --no-pager tag -l | tail -1)"
# git for-each-ref --sort=creatordate --format '%(creatordate)'

Expand Down

0 comments on commit 3411590

Please sign in to comment.