Skip to content

Commit

Permalink
Merge pull request #10 from Comcast/feature/strip_vendor
Browse files Browse the repository at this point in the history
Feature/strip vendor
  • Loading branch information
johnabass authored Aug 23, 2017
2 parents 75a41a0 + fc1c08b commit af9c975
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ before_install:
- 'if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then docker exec build bash -c "pushd codecovio_build; git fetch origin +refs/pull/${TRAVIS_PULL_REQUEST}/merge && git checkout -qf FETCH_HEAD; popd"; fi'

script:
- docker exec build bash -c "export GOPATH=/codecovio_build && pushd codecovio_build/src && glide install && cd petasos && go build petasos && go test -race -coverprofile=coverage.txt && popd"
- docker exec build bash -c "export GOPATH=/codecovio_build && pushd codecovio_build/src && glide install --strip-vendor && cd petasos && go build petasos && go test -race -coverprofile=coverage.txt && popd"
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then docker exec build bash -c "pushd petasos; ./build_rpm.sh; popd"; fi'

after_success:
Expand Down
2 changes: 1 addition & 1 deletion petasos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The Webpa HTTP redirector component.
%build
export GOPATH=$(pwd)
pushd src
glide install
glide install --strip-vendor
cd petasos
go build %{name}
popd
Expand Down
8 changes: 4 additions & 4 deletions src/glide.lock

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

2 changes: 1 addition & 1 deletion src/glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package: .
homepage: https://github.com/Comcast/petasos
import:
- package: github.com/Comcast/webpa-common
version: 94077f0cf9cfbeee779385379c7dbd81d0666b91
version: 4748c84a43400ca47e78796759c2da55b097dc08
subpackages:
- concurrent
- device
Expand Down

0 comments on commit af9c975

Please sign in to comment.