language: go
go:
    - 1.7
go_import_path: kego.io/
notificaitons:
  email:
    recipients: dave@brophy.uk
    on_failure: always
addons:
  apt:
    packages:
      - nodejs
install:
  # - go get -u github.com/gopherjs/gopherjs

  # temporary fix for gopherjs / go1.7 incompatibility:
  - go get -u github.com/gopherjs/gopherjs/... || true
  - cd $GOPATH/src/github.com/gopherjs/gopherjs
  - git checkout go1.7
  - cd $GOPATH/src/kego.io
  - go get -u github.com/gopherjs/gopherjs/...

  - go get -u github.com/davelondon/kerr/kcov
  - go get -t -v ./...
script:
  - kcov -r kego.io
after_success:
  - bash <(curl -s https://codecov.io/bash)

language: go
go:
    - 1.7
go_import_path: kego.io/
notificaitons:
  email:
    recipients: dave@brophy.uk
    on_failure: always
addons:
  apt:
    packages:
      - nodejs
install:
  - go get -u github.com/gopherjs/gopherjs
  - go get -u github.com/davelondon/kerr/kcov
  - go get -t -v ./...
script:
  - kcov -r kego.io
after_success:
  - bash <(curl -s https://codecov.io/bash)

Remove temporary go 1.7 fix
Remove temporary go 1.7 fix
