Bump Go versions for Travis, fix tests

Replace gometalinter with golangci-lint.

Fix system tests (wheezy is gone, replace with stretch).

Fix linter warnings.
This commit is contained in:
Andrey Smirnov committed 2019-07-04 00:16:12 +03:00
1 parent e2d6a53de5
commit 2c91bcdc30
116 files changed
+1503 -1067

No files matched your search

+3 -3
View File
@@ -1,8 +1,8 @@
Loading mirrors, local repos, snapshots and published repos...
Loading list of all packages...
Deleting unreferenced packages (3)...
Deleting unreferenced packages (4)...
Building list of files referenced by packages...
Building list of files in package pool...
Deleting unreferenced files (5)...
Disk space freed: 37.04 KiB...
Deleting unreferenced files (6)...
Disk space freed: 40.39 KiB...
Compacting database...
+2 -2
View File
@@ -109,8 +109,8 @@ class CleanupDB9Test(BaseTest):
runCmd = "aptly db cleanup"
def check(self):
self.check_output()
self.check_cmd_output("aptly publish drop def", "publish_drop", match_prepare=self.expand_environ)
self.check_output()
self.check_cmd_output("aptly publish drop def", "publish_drop", match_prepare=self.expand_environ)
class CleanupDB10Test(BaseTest):