File: .travis.yml

package info (click to toggle)
golang-github-abh-geoip-dev 0.0~git20150611-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 112 kB
  • ctags: 79
  • sloc: perl: 25; makefile: 16
file content (18 lines) | stat: -rw-r--r-- 394 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
language: go

go:
  - 1.3
  - 1.4
  - tip

before_install:
  - sudo apt-get install libgeoip-dev bzr

install:
  - mkdir -p $TRAVIS_BUILD_DIR/db
  - curl http://geodns.bitnames.com/geoip/GeoLiteCity.dat.gz  | gzip -cd > $TRAVIS_BUILD_DIR/db/GeoLiteCity.dat
  - go get gopkg.in/check.v1

script:
  - cd $TRAVIS_BUILD_DIR && go test -gocheck.v
  - go test -gocheck.v -gocheck.b -gocheck.btime=2s