Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add .travis file - maybe now we can have CI?
Also we need dep. Maybe Maybe Maybe Definitely not Maybe Maybe Maybe Maybe Definitely not Definitely not Maybe Maybe Maybe Maybe Maybe Definitely not Maybe Maybe This was a casualty of some earlier folly. Remove operator-sdk stuff
- Loading branch information
1 parent
4d5f6d5
commit f5e9185
Showing
2 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
language: go | ||
|
||
go: | ||
- "1.11" | ||
|
||
env: | ||
- DEP_VERSION="0.5.0" # I'm using 0.5.0, so Travis gets to use 0.5.0 | ||
|
||
before_install: | ||
# if we're in a mainline build, don't make a symlink | ||
# if we're not in a mainline build, symlink the proper dir to point to this dir. | ||
- if [["github.com/BlueK8S" in $(TRAVIS_BUILD_DIR)]]; then echo "mainline build, no symlink"; else mkdir -p $GOPATH/src/github.com/BlueK8S && ln -s $(pwd) $GOPATH/src/github.com/BlueK8S/kubedirector ; fi | ||
# Get dep | ||
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep | ||
- chmod +x $GOPATH/bin/dep | ||
- make dep | ||
|
||
script: | ||
- make compile |
This file contains 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