Skip to content
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

Initial travis CI integration #116

Merged
merged 1 commit into from
Jun 26, 2018
Merged

Initial travis CI integration #116

merged 1 commit into from
Jun 26, 2018

Conversation

mogren
Copy link
Contributor

@mogren mogren commented Jun 25, 2018

Resolves issue #91

Description of changes:

  • Adds basic Travis CI integration.
  • Updates Makefile to make clear it is a Linux only build.
  • Updated README with Makefile changes.
  • Added IntelliJ files to .gitignore.
  • Removed two unused scripts.

Tested by enabling Travis CI for my fork: https://travis-ci.org/mogren/amazon-vpc-cni-k8s

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@mattlandis mattlandis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look pretty good. Just the one comment.

.travis.yml Outdated
install:
- go get -u github.com/golang/dep/cmd/dep
- go get -u golang.org/x/lint/golint
- dep ensure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should not need to run dep ensure as part of the build. All of the dependencies should be in the vendor directory already and properly versioned. If they are not the build should fail.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right! It did fail at first on my mac, but that was because of OS X. Removing the dep stuff.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants