Skip to content

Commit

Permalink
Make builds reproducible
Browse files Browse the repository at this point in the history
fixes #6
  • Loading branch information
Al2Klimov committed Sep 25, 2018
1 parent 6f46e72 commit 83f3e55
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ go:
- master

before_script:
- curl -LSso "${GOPATH}/bin/dep" https://github.com/golang/dep/releases/download/v0.5.0/dep-linux-amd64
- chmod +x "${GOPATH}/bin/dep"
- gem install fpm

script:
- dep ensure
- .travis-ci/mk-pkgs.sh

deploy:
Expand Down
54 changes: 54 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true


[[constraint]]
branch = "master"
name = "github.com/Al2Klimov/go-generate-deps"

[[constraint]]
name = "github.com/go-ini/ini"
version = "1.38.2"

[[constraint]]
name = "github.com/go-sql-driver/mysql"
version = "1.4.0"

[[constraint]]
branch = "master"
name = "github.com/masif-upgrader/common"

[prune]
go-tests = true
unused-packages = true

0 comments on commit 83f3e55

Please sign in to comment.