Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Commit

Permalink
Merge pull request #42 from lpabon/travis-glock
Browse files Browse the repository at this point in the history
Travis support for glock
  • Loading branch information
Luis Pabón committed Jul 2, 2015
2 parents cb7eaf8 + 3e35adb commit edfdade
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .travis-fork-fix
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
# from pblcache repo and not from the fork. This program
# will fix the issue.

PBLREPO="github.com/heketi/heketi"
PBLCACHEDIR="../../lpabon/heketi"
REPO="github.com/heketi/heketi"
REPODIR="../../heketi"

if ! git remote -v | grep origin | grep ${PBLREPO} ; then
mv ${PBLCACHEDIR} ${PBLCACHEDIR}.orig
ln -s $PWD ${PBLCACHEDIR}
if ! git remote -v | grep origin | grep ${REPO} ; then
mkdir -p ${REPODIR}
ln -s $PWD ${REPODIR}/heketi
fi
5 changes: 3 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
language: go
install:
- bash .travis-fork-fix
- go get github.com/mattn/goveralls
- go get -v -d ./...
- go get github.com/robfig/glock
- glock sync github.com/heketi/heketi
env:
global:
- secure: tCj+iGIN2GM5yPneme35KIQwqGcXMOLod00qvG/Af0lkjEVJRRNz3gnB3P2dNyj9Nc4FWxSUIjCiIkblOMaEKxPXp1S3Zo7gRBVphyNY5ZvIKeqKoXvBPd6hi9Ft2TaN+4vDczfAKOI/S3/3kN3NmgGCYNTLOues0T4yhVd3v14hoQJxw4Jbjlsj8RGfLrqp+dInFv2tS+xTyK+q/EOiaCpBq4PfK6giKwt943o7jc9v0iWjnP2rWq/AotMo4QutoC0OVeJT8aG41sC5LvlYTBQB22E8Zv439JgHsdhQU1NRd/1VLGKATToxkUxh2Reei42koAWFJ+EfFvAIx03k5+ZYJY7W+Rtuy8jn0uRaZyvvQdUvyT22e9lSJzqkP6JAe7oru9hf9X4K0XSOfMMFUiJDC+rNm0Ajd+r/5h6C+jRqIMDvvFgdlCkM8gKIX1B5N+RM1hxurAGTRpdCPuDVLVeTCbNZCds8jiK1DNky6Ni66plBIV+LKQY3EpjBn0jaWfPdTJbU5OiOb1uadnmzj2yt65Mp3T8QJD3dotURISR8bIS+Xb6vAytKFWmtcqje5Hx4lFTfyrH3gRGjMyeS9j3pVjbbCCV466FHOp9oglpoFv49nXhivPzLqU7mSuLIue+5RZ318HykuBWI+6xAo8aH9nnoBmAWiGCxXwIr13Y=
Expand All @@ -16,7 +18,6 @@ matrix:
before_script:
- if [[ "$GOTOOLS" = "yes" ]] ; then go get golang.org/x/tools/cmd/vet; fi
- if [[ "$GOTOOLS" = "yes" ]] ; then go get golang.org/x/tools/cmd/cover; fi
- bash .travis-fork-fix
script:
- if [[ "GOTOOLS" = "yes" ]] ; then go fmt ./... | wc -l | grep 0 ; fi
- if [[ "GOTOOLS" = "yes" ]] ; then go vet ./... ; fi
Expand Down

0 comments on commit edfdade

Please sign in to comment.