diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cc7e0b1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,24 @@ +language: go + +branches: + only: + - "master" + +# In theory, older versions would probably work just fine +go: + - 1.8 + - 1.9 + - 1.10 + +env: + - GOOS=linux + - GOOS=darwin + - GOOS=windows + +script: + - go get -u -t ./... + +notifications: + email: + on_success: never + on_failure: never \ No newline at end of file diff --git a/main.go b/main.go index 9b15404..9d36c8d 100644 --- a/main.go +++ b/main.go @@ -269,7 +269,7 @@ func process(input image.Image, done chan struct{}) bool { forgedBlocks, result := filterOutNeighbors(simBlocks) forgedImg := image.NewRGBA(img.Bounds()) - overlay := color.RGBA{255, 0, 255, 255} + overlay := color.RGBA{255, 0, 0, 255} fmt.Println("Number of forged blocks detected: ", len(forgedBlocks)) for _, bl := range forgedBlocks {