Skip to content

Commit

Permalink
Update LICENSE
Browse files Browse the repository at this point in the history
added copyright with name, closes issue #4
Added more supported go versions
  • Loading branch information
dimchansky committed Nov 6, 2020
1 parent d2133a1 commit 6ae8f94
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 7 deletions.
21 changes: 16 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
language: go
sudo: false

go:
- '1.10'
- '1.11'
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x

# sudo=false makes the build run using a container
sudo: false
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod

env:
global:
- GO111MODULE=on

before_install:
- go get github.com/mattn/goveralls
- go get golang.org/x/tools/cmd/cover
- go get golang.org/x/tools/cmd/goimports
- go get github.com/golang/lint/golint
- go get golang.org/x/lint/golint
script:
- gofiles=$(find ./ -name '*.go') && [ -z "$gofiles" ] || unformatted=$(goimports -l $gofiles) && [ -z "$unformatted" ] || (echo >&2 "Go files must be formatted with gofmt. Following files has problem:\n $unformatted" && false)
- golint ./... # This won't break the build, just show warnings
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.

Copyright {yyyy} {name of copyright owner}
Copyright (c) 2018-2020, Dmitrij Koniajev (dimchansky@gmail.com)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module github.com/dimchansky/utfbom
module github.com/dimchansky/utfbom

0 comments on commit 6ae8f94

Please sign in to comment.