M .codacy.yml => .codacy.yml +2 -2
@@ 1,4 1,4 @@
---
exclude_paths:
- - '*.md'
- - 'vender/**/*'
+- '*.md'
+- 'vender/**/*'
M .travis.yml => .travis.yml +9 -9
@@ 1,19 1,19 @@
language: go
os:
- - linux
- - osx
+- linux
+- osx
go:
- - "1.8"
- - "1.10.x"
- - "1.11.x"
- - "tip"
-
+- "1.8"
+- "1.10.x"
+- "1.11.x"
+- "tip"
+
before_install:
- - go get github.com/mattn/goveralls
+- go get github.com/mattn/goveralls
script:
- - $GOPATH/bin/goveralls -service=travis-ci
+- $GOPATH/bin/goveralls -service=travis-ci
deploy:
provider: releases
M ascii/ascii_test.go => ascii/ascii_test.go +0 -1
@@ 114,7 114,6 @@ func TestReverseSlice(t *testing.T) {
fmt.Sprintf("%+v reversed should equal to %+v", s, expectedReversedSlice))
}
-
// ExampleConvertPixelToASCII is a example convert pixel to ascii char
func ExampleConvertPixelToASCII() {
converter := NewPixelConverter()
M image2ascii_test.go => image2ascii_test.go +2 -2
@@ 8,7 8,7 @@ import (
func TestParseEmptyFilenameOptions(t *testing.T) {
assertions := assert.New(t)
imageFilename = ""
- _, err :=parseOptions()
+ _, err := parseOptions()
assertions.True(err != nil)
}
@@ 20,7 20,7 @@ func TestParseOptions(t *testing.T) {
colored = false
fixedHeight = 100
fixedWidth = 100
- opt, err :=parseOptions()
+ opt, err := parseOptions()
assertions.True(err == nil)
assertions.Equal(ratio, opt.Ratio)
assertions.False(fitScreen)