From c60c951d27310f25856b4a284e6736c55ca4215f Mon Sep 17 00:00:00 2001 From: Anatoly Rugalev Date: Tue, 8 Sep 2020 02:33:09 +0300 Subject: [PATCH] fix(ci): fixed snap package build in CI --- .travis.yml | 7 ++++++- ci/snap-deps.sh | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 52e2746..59758df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -23,7 +23,6 @@ after_success: - openssl aes-256-cbc -K $encrypted_6ac5d215f818_key -iv $encrypted_6ac5d215f818_iv -in ci/snap.login.enc -out ci/snap.login -d - snapcraft login --with ci/snap.login - deploy: - provider: script skip_cleanup: true @@ -31,3 +30,9 @@ deploy: on: tags: true condition: $TRAVIS_OS_NAME = linux + + - provider: script + skip_cleanup: true + script: curl -sL https://git.io/goreleaser | bash -s - --snapshot + on: + branch: ci-test diff --git a/ci/snap-deps.sh b/ci/snap-deps.sh index fd1ade4..67bde8c 100755 --- a/ci/snap-deps.sh +++ b/ci/snap-deps.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash set -e