Skip to content
Snippets Groups Projects
Commit f5d64049 authored by Julian Kornberger's avatar Julian Kornberger
Browse files

Build examples by iterating through folder

parent 55a422b5
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
for i in examples/*; do
echo "building $i"
go install github.com/bio-routing/bio-rd/$i
done
...@@ -17,6 +17,4 @@ jobs: ...@@ -17,6 +17,4 @@ jobs:
- run: go get github.com/mattn/goveralls - run: go get github.com/mattn/goveralls
- run: go test -v -cover -coverprofile=coverage.out ./... - run: go test -v -cover -coverprofile=coverage.out ./...
- run: goveralls -coverprofile=coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN - run: goveralls -coverprofile=coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN
- run: go install github.com/bio-routing/bio-rd/examples/bgp - run: .circleci/build-examples
- run: go install github.com/bio-routing/bio-rd/examples/bmp
- run: go install github.com/bio-routing/bio-rd/examples/netlink
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment