Skip to content

Commit

Permalink
Update to use ./kompose instead of $GOPATH kompose binary
Browse files Browse the repository at this point in the history
The issue is that when running `make test-cmd` you'll have to cp kompose
to the /usr/local/bin directory or the $GOPATH directory.

Since `make test` is being used consistently in the same git diretory,
it makes sense to use the local-built binary.
  • Loading branch information
cdrage committed Aug 16, 2017
1 parent 520676d commit 4857f58
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 134 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ sudo: required

language: go

# make this also work for forks
go_import_path: github.com/kubernetes/kompose

matrix:
include:
- go: 1.6
Expand All @@ -21,6 +18,7 @@ install:
- script/test/cmd/fix_detached_head.sh

script:
- make bin
- make test

after_success:
Expand Down
2 changes: 1 addition & 1 deletion script/test/cmd/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ function convert::check_artifacts_generated() {
convert::teardown
return $exit_status
}
readonly -f convert::check_artifacts_generated
readonly -f convert::check_artifacts_generated
Loading

0 comments on commit 4857f58

Please sign in to comment.