language: go
go:
  - 1.1.2
  - 1.2

branches:
  only:
    - master

install:
  - DST=~/gopath/src/github.com/apcera
  - mkdir -p "$DST"
  - git clone --depth=1 --quiet git@github.com:apcera/nats.git "$DST"/nats

script:
  - go build
  - go fmt ./...
  - go vet ./...
  - go test -i -race ./...
  - go test -v -race ./...

language: go
go:
  - 1.1.2
  - 1.2

branches:
  only:
    - master

install:
  - DST=~/gopath/src/github.com/apcera
  - mkdir -p "$DST"
  - git clone --depth=1 --quiet https://github.com/apcera/nats.git "$DST"/nats

script:
  - go build
  - go fmt ./...
  - go vet ./...
  - go test -i -race ./...
  - go test -v -race ./...

Move to https for git clone
Move to https for git clone
