Adds an attempt to fix the CI

Changes:
1. Fixes the licence information in the `plugin.zsh` to be MIT
2. Fixes link in the README
3. Fixes some tests

Closes #54
pull/42/merge
sobolevn 7 years ago
parent 51b1797203
commit c1fa611f4d
No known key found for this signature in database
GPG Key ID: FF672D568AE3C73E

@ -15,7 +15,7 @@ if [[ ! -z "$DOCKER_DIST" ]]; then
fi
# Local builds:
if [[ "$GITSECRET_DIST" == "brew" ]] || [[ "$GITSECRET_DIST" == "brew" ]]; then
if [[ "$GITSECRET_DIST" == "brew" ]] || [[ "$GITSECRET_DIST" == "none" ]]; then
# Only running `make test` on standard (non-docker) build,
# since it is called inside the docker container anyway.
make test
@ -25,6 +25,4 @@ if [[ ! -z "$(command -v shellcheck)" ]]; then
# This means, that `shellcheck` does exist, so run it:
echo 'running lint'
find src utils -type f -name '*.sh' -print0 | xargs -0 -I {} shellcheck {}
# TODO: add tests to lint
# see: https://github.com/koalaman/shellcheck/issues/709
fi

@ -39,10 +39,6 @@ matrix:
- debian-sid
packages:
- shellcheck
- os: osx
env: GITSECRET_DIST="brew"; GITSECRET_GPG_DEP="gnupg"; SECRETS_GPG_COMMAND="gpg"
sudo: false
language: generic
- os: osx
env: GITSECRET_DIST="brew"; GITSECRET_GPG_DEP="gnupg2"; SECRETS_GPG_COMMAND="gpg2"
sudo: false

@ -34,4 +34,4 @@ MIT. See [LICENSE.md](LICENSE.md) for details.
## Thanks
Special thanks to [Elio Qoshi](https://elioqoshi.me/sq/) from [ura](http://ura.al/) for the awesome logo.
Special thanks to [Elio Qoshi](https://elioqoshi.me/sq/) from [ura](http://ura.design/) for the awesome logo.

@ -2,11 +2,7 @@
# Copyright 2016 Sobolev Nikita <mail@sobolevn.me>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
# Licensed under the MIT License
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,

@ -6,7 +6,7 @@ function _check_setup {
# Checking git and secret-plugin setup:
local is_tree
is_tree=$(_is_inside_git_tree)
if [[ $is_tree != "0" ]]; then
if [[ ! $is_tree -eq 0 ]]; then
_abort "repository is broken. try running 'git init' or 'git clone'."
fi

@ -18,7 +18,6 @@ function teardown {
run git secret init
[ "$status" -eq 1 ]
[ "$output" = "repository is broken. try running 'git init' or 'git clone'. abort." ]
}

Loading…
Cancel
Save