Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
ed5ccf9
wip multiple builds
caarlos0 Jun 27, 2017
4504cd4
fixing more errors
caarlos0 Jun 27, 2017
a8f1645
fixing archiving and brew
caarlos0 Jun 27, 2017
05744bb
wip more changes
caarlos0 Jun 28, 2017
0599421
moved naming logic to another pkg
caarlos0 Jul 1, 2017
d286dff
docs
caarlos0 Jul 1, 2017
45a24a1
improved build
caarlos0 Jul 1, 2017
7d01a5a
renamed archives to binaries, pointed more changes
caarlos0 Jul 1, 2017
d2d215f
renamed fields
caarlos0 Jul 1, 2017
3c68b89
archive pipe fixed
caarlos0 Jul 1, 2017
40fc46d
fixes to archiving and fpm
caarlos0 Jul 1, 2017
736d155
fpm only for linux builds
caarlos0 Jul 1, 2017
bc7eba4
archive tests fixed
caarlos0 Jul 1, 2017
a9d6f0a
fixed build tests
caarlos0 Jul 1, 2017
67861b6
Merge branch 'master' into builds
caarlos0 Jul 1, 2017
dd56049
fixed fpm tests
caarlos0 Jul 1, 2017
0359e02
brew fixes
caarlos0 Jul 1, 2017
4fa8310
defaults tests
caarlos0 Jul 2, 2017
19e1c8a
checksums tests
caarlos0 Jul 2, 2017
460f4af
readme
caarlos0 Jul 2, 2017
cc5f80b
added backwards compat to single build
caarlos0 Jul 2, 2017
0410f5b
cleaning up
caarlos0 Jul 2, 2017
2becfec
coverage increased
caarlos0 Jul 2, 2017
aaa1851
increased fpm coverage
caarlos0 Jul 2, 2017
b41b2f7
cleaning up
caarlos0 Jul 2, 2017
b930615
fixing one todo
caarlos0 Jul 2, 2017
a3c1e2b
fixed another todo
caarlos0 Jul 2, 2017
6158285
project name, templates, readme, etc
caarlos0 Jul 2, 2017
425300e
Merge branch 'master' into builds
caarlos0 Jul 2, 2017
3b51b44
fixed new tests
caarlos0 Jul 2, 2017
6db500f
Merge branch 'master' into builds
caarlos0 Jul 3, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fixed fpm tests
  • Loading branch information
caarlos0 committed Jul 1, 2017
commit dd56049aba47d73da058fd7163326b0374bbf051
23 changes: 6 additions & 17 deletions pipeline/fpm/fpm_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,14 @@ func TestRunPipe(t *testing.T) {
_, err = os.Create(filepath.Join(dist, "mybin", "mybin"))
assert.NoError(err)
var ctx = &context.Context{
Archives: map[string]string{
"linuxamd64": "mybin",
Folders: map[string]string{
"linuxamd64": "mybin",
"linux386": "mybin",
"darwinamd64": "anotherbin",
},
Config: config.Project{
Name: "mybin",
Dist: dist,
Build: config.Build{
Goarch: []string{
"amd64",
"i386",
},
Binary: "mybin",
},
FPM: config.FPM{
Formats: []string{"deb"},
Dependencies: []string{"make"},
Expand Down Expand Up @@ -85,18 +81,11 @@ func TestCreateFileDoesntExist(t *testing.T) {
assert.NoError(os.Mkdir(dist, 0755))
assert.NoError(os.Mkdir(filepath.Join(dist, "mybin"), 0755))
var ctx = &context.Context{
Archives: map[string]string{
Folders: map[string]string{
"linuxamd64": "mybin",
},
Config: config.Project{
Dist: dist,
Build: config.Build{
Goarch: []string{
"amd64",
"i386",
},
Binary: "mybin",
},
FPM: config.FPM{
Formats: []string{"deb"},
},
Expand Down