-
Notifications
You must be signed in to change notification settings - Fork 273
Fix a number of testing & dependency issues #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 7 commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
43d0f5d
Add .vagrant to .gitignore
1fbbbe0
Use github.com/LK4D4/vndr and update vendored deps
3ef4b6f
add storageversion/version_autogen to .gitignore
0a8a8f0
Remove the integration-cli make target because the integration-cli di…
e9c7fca
Flip the order of testing for virtualbox installations.
b921859
Retab shell script; use official golang package everywhere, adjust pa…
d557952
Remove old vendor tooling
9a2b6c1
Resolve a number of GOPATH-related issues previously missed
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,3 +28,5 @@ man/man1 | |
| man/man5 | ||
| man/man8 | ||
| vendor/pkg/ | ||
| .vagrant | ||
| storageversion/version_autogen.go | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,34 +1,38 @@ | ||
| #!/bin/bash | ||
| set -e | ||
|
|
||
| GO_VERSION=1.7.4 | ||
|
|
||
| source /etc/os-release | ||
|
|
||
| case "${ID_LIKE:-${ID:-unknown}}" in | ||
| debian) | ||
| export DEBIAN_FRONTEND=noninteractive | ||
| apt-get -q update | ||
| apt-get -q -y install linux-headers-`uname -r` | ||
| echo deb http://httpredir.debian.org/debian testing main > /etc/apt/sources.list | ||
| echo deb http://httpredir.debian.org/debian testing contrib >> /etc/apt/sources.list | ||
| apt-get -q update | ||
| apt-get -q -y install systemd | ||
| apt-get -q -y install apt make git gccgo golang btrfs-progs libdevmapper-dev | ||
| apt-get -q -y install zfs-dkms zfsutils-linux | ||
| modprobe aufs | ||
| modprobe zfs | ||
| ;; | ||
| fedora) | ||
| dnf -y clean all | ||
| dnf -y install golang-bin make git-core btrfs-progs-devel device-mapper-devel | ||
| dnf -y install gcc-go | ||
| alternatives --set go /usr/lib/golang/bin/go | ||
| ;; | ||
| unknown) | ||
| echo Unknown box OS, unsure of how to install required packages. | ||
| exit 1 | ||
| ;; | ||
| debian) | ||
| export DEBIAN_FRONTEND=noninteractive | ||
| apt-get -q update | ||
| apt-get -q -y install linux-headers-`uname -r` | ||
| echo deb http://httpredir.debian.org/debian testing main > /etc/apt/sources.list | ||
| echo deb http://httpredir.debian.org/debian testing contrib >> /etc/apt/sources.list | ||
| apt-get -q update | ||
| apt-get -q -y install systemd curl | ||
| apt-get -q -y install apt make git btrfs-progs libdevmapper-dev | ||
| apt-get -q -y install zfs-dkms zfsutils-linux | ||
| curl -sSL https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz | tar -xvz -C /usr/local | ||
| modprobe aufs | ||
| modprobe zfs | ||
| ;; | ||
| fedora) | ||
| dnf -y clean all | ||
| dnf -y install make git gcc btrfs-progs-devel device-mapper-devel | ||
| curl -sSL https://storage.googleapis.com/golang/go${GO_VERSION}.linux-amd64.tar.gz | tar -xvz -C /usr/local | ||
| ;; | ||
| unknown) | ||
| echo Unknown box OS, unsure of how to install required packages. | ||
| exit 1 | ||
| ;; | ||
| esac | ||
| mkdir -p /go/src/github.com/containers | ||
| rm -f /go/src/github.com/containers/storage | ||
| ln -s /vagrant /go/src/github.com/containers/storage | ||
| export GOPATH=/go:/go/src/github.com/containers/storage/vendor | ||
| export PATH=/usr/lib/go-1.6/bin:/go/src/${PKG}/vendor/src/github.com/golang/lint/golint:${PATH} | ||
| export PATH=/usr/local/go/bin:/go/bin:${PATH} | ||
| go get github.com/golang/lint |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently the go compiler's not in the default $PATH in Travis.