Include travis.yml

This commit is contained in:
esimov
2018-04-20 14:11:38 +03:00
parent 26f265a330
commit 3364647525
2 changed files with 25 additions and 1 deletions

24
.travis.yml Normal file
View File

@@ -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

View File

@@ -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 {