-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e10982
commit 8c77084
Showing
3 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# .travis.yml | ||
language: go | ||
|
||
addons: | ||
apt: | ||
packages: | ||
# needed for the nfpm pipe: | ||
- rpm | ||
# needed for the snap pipe: | ||
- snapcraft | ||
|
||
env: | ||
# needed for the snap pipe: | ||
- PATH=/snap/bin:$PATH | ||
|
||
install: | ||
# needed for the snap pipe: | ||
- sudo snap install snapcraft --classic | ||
|
||
# needed for the docker pipe | ||
services: | ||
- docker | ||
|
||
after_success: | ||
# docker login is required if you want to push docker images. | ||
# DOCKER_PASSWORD should be a secret in your .travis.yml configuration. | ||
# - test -n "$TRAVIS_TAG" && docker login -u=myuser -p="$DOCKER_PASSWORD" | ||
# snapcraft login is required if you want to push snapcraft packages to the | ||
# store. | ||
# You'll need to run `snapcraft export-login snap.login` and | ||
# `travis encrypt-file snap.login --add` to add the key to the travis | ||
# environment. | ||
# - test -n "$TRAVIS_TAG" && snapcraft login --with snap.login | ||
|
||
# calls goreleaser | ||
deploy: | ||
- provider: script | ||
skip_cleanup: true | ||
script: curl -sL https://git.io/goreleaser | bash | ||
on: | ||
tags: true | ||
condition: $TRAVIS_OS_NAME = linux |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ import ( | |
) | ||
|
||
const ( | ||
version = "0.2.0" | ||
version = "0.3.0" | ||
name = "howdoi-cli" | ||
) | ||
|
||
|