Skip to content

Commit

Permalink
fix(ci): fixed snap package build in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyRugalev committed Sep 7, 2020
1 parent f0461c2 commit c60c951
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,16 @@ 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
script: curl -sL https://git.io/goreleaser | bash
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
2 changes: 1 addition & 1 deletion ci/snap-deps.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash

set -e

Expand Down

0 comments on commit c60c951

Please sign in to comment.