Skip to content

Commit

Permalink
major overhaul. (#4)
Browse files Browse the repository at this point in the history
* upgraded to go modules.
* works with go1.12
* added support for mirrors as environment variables after report of
customer issue with the original hardcoded primary mirror.
* changed license from APLv2 to MIT.
* migration from Sirupsen/logrus to sirupsen/logrus.
* locked vendors to go mod.
* updated cf manifest.
* updated .gitignore.
* updated travis.

Signed-off-by: Mike Lloyd <[email protected]>
  • Loading branch information
siennathesane authored Mar 15, 2019
1 parent 390b0ae commit eaf87e4
Show file tree
Hide file tree
Showing 407 changed files with 43,880 additions and 26,874 deletions.
42 changes: 21 additions & 21 deletions .cfignore
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
/.idea/
*vendor/
/clamav
*.cdiff
*.cvd*
/filedefs/
/clamav_linux_amd64
/clamav_windows_amd64.exe
/clamav_linux_arm
/clamav_netbsd_arm
/clamav_openbsd_amd64
/clamav_freebsd_386
/clamav_linux_386
/clamav_netbsd_386
/clamav_netbsd_amd64
/clamav_darwin_386
/clamav_openbsd_386
/clamav_freebsd_amd64
/clamav_windows_386.exe
/clamav_freebsd_arm
/clamav_darwin_amd64
/.idea/
*vendor/
/clamav
*.cdiff
*.cvd*
/filedefs/
/clamav_linux_amd64
/clamav_windows_amd64.exe
/clamav_linux_arm
/clamav_netbsd_arm
/clamav_openbsd_amd64
/clamav_freebsd_386
/clamav_linux_386
/clamav_netbsd_386
/clamav_netbsd_amd64
/clamav_darwin_386
/clamav_openbsd_386
/clamav_freebsd_amd64
/clamav_windows_386.exe
/clamav_freebsd_arm
/clamav_darwin_amd64
89 changes: 45 additions & 44 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,45 @@

/.idea/
/clamav
/clamav_linux_amd64
/clamav_windows_amd64.exe
/clamav_linux_arm
/clamav_netbsd_arm
/clamav_openbsd_amd64
/clamav_freebsd_386
/clamav_linux_386
/clamav_netbsd_386
/clamav_netbsd_amd64
/clamav_darwin_386
/clamav_openbsd_386
/clamav_freebsd_amd64
/clamav_windows_386.exe
/clamav_freebsd_arm
/clamav_darwin_amd64
/filedefs/daily.fp
/filedefs/daily.wdb
/filedefs/daily.hsb
/filedefs/daily.ign2
/filedefs/daily.hdu
/filedefs/daily.ndb
/filedefs/daily.mdb
/filedefs/daily.pdb
/filedefs/daily.info
/filedefs/daily.hsu
/filedefs/daily.msb
/filedefs/daily.mdu
/filedefs/daily.ldu
/filedefs/daily.sfp
/filedefs/daily.ndu
/filedefs/daily.crb
/filedefs/daily.ign
/filedefs/daily.msu
/filedefs/daily.cvd
/filedefs/COPYING
/filedefs/daily.cfg
/filedefs/daily.hdb
/filedefs/daily.idb
/filedefs/daily.ldb
/filedefs/daily.ftm
/filedefs/daily.cdb

/.idea/
/clamav
/clamav.exe
/clamav_linux_amd64
/clamav_windows_amd64.exe
/clamav_linux_arm
/clamav_netbsd_arm
/clamav_openbsd_amd64
/clamav_freebsd_386
/clamav_linux_386
/clamav_netbsd_386
/clamav_netbsd_amd64
/clamav_darwin_386
/clamav_openbsd_386
/clamav_freebsd_amd64
/clamav_windows_386.exe
/clamav_freebsd_arm
/clamav_darwin_amd64
/filedefs/daily.fp
/filedefs/daily.wdb
/filedefs/daily.hsb
/filedefs/daily.ign2
/filedefs/daily.hdu
/filedefs/daily.ndb
/filedefs/daily.mdb
/filedefs/daily.pdb
/filedefs/daily.info
/filedefs/daily.hsu
/filedefs/daily.msb
/filedefs/daily.mdu
/filedefs/daily.ldu
/filedefs/daily.sfp
/filedefs/daily.ndu
/filedefs/daily.crb
/filedefs/daily.ign
/filedefs/daily.msu
/filedefs/daily.cvd
/filedefs/COPYING
/filedefs/daily.cfg
/filedefs/daily.hdb
/filedefs/daily.idb
/filedefs/daily.ldb
/filedefs/daily.ftm
/filedefs/daily.cdb
52 changes: 27 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
language: go

go:
- 1.5.x
- 1.6.x
- 1.7.x
- 1.8.x
- 1.9.x
- tip
- master

install:
- go get -v github.com/mitchellh/gox

script:
- go test -v -short -race .
- gox -verbose -parallel=2

notifications:
email:
on_success: change
on_failure: change

matrix:
allow_failures:
language: go

go:
- 1.9.x
- 1.10.x
- 1.11.x
- 1.12.x
- tip
- master

install:
- go get -v github.com/mitchellh/gox

env:
- PRIMARY_MIRROR="http://database.clamav.net"

script:
- go test -v -short -race .
- gox -verbose -parallel=2

notifications:
email:
on_success: change
on_failure: change

matrix:
allow_failures:
- go: master, tip
Loading

0 comments on commit eaf87e4

Please sign in to comment.