Browse Source

Try specifying go get's in .travis.yml

Ask Bjørn Hansen 13 years ago
parent
commit
f8afaf70dc
3 changed files with 11 additions and 3 deletions
  1. 9 1
      .travis.yml
  2. 1 1
      serve.go
  3. 1 1
      types.go

+ 9 - 1
.travis.yml

@@ -1,3 +1,11 @@
 language: go
 before_install:
-  - sudo apt-get install libgeoip-dev libgeo-ip-perl
+  - sudo apt-get install libgeoip-dev bzr
+install:
+  - go get github.com/miekg/dns
+  - go get github.com/abh/geoip
+  - go get launchpad.net/gocheck
+  - go get -v
+  - go build -v
+  - go install
+

+ 1 - 1
serve.go

@@ -2,7 +2,7 @@ package main
 
 import (
 	"encoding/json"
-	"geodns/countries"
+	"github.com/abh/geodns/countries"
 	"github.com/miekg/dns"
 	"log"
 	"os"

+ 1 - 1
types.go

@@ -1,7 +1,7 @@
 package main
 
 import (
-	"geodns/countries"
+	"github.com/abh/geodns/countries"
 	"github.com/miekg/dns"
 )