language: go
go:
  - 1.0
  - 1.1
  - 1.1.2
  - tip
matrix:
  allow_failures:
    - go: tip
branches:
  only:
    - master
install: true
before_install:
  - travis_retry sudo apt-get update
  - travis_retry sudo apt-get install --force-yes -y libmagic1 libmagic-dev
before_script:
  - travis_retry go get -v -x github.com/kwilczynski/go-magic
script: go test -v -x ./... -run '^Test.*'

language: go
go:
  - 1.0
  - 1.1
  - 1.1.2
  - 1.2
  - tip
matrix:
  allow_failures:
    - go: tip
branches:
  only:
    - master
install: true
before_install:
  - travis_retry sudo apt-get update
  - travis_retry sudo apt-get install --force-yes -y libmagic1 libmagic-dev
before_script:
  - travis_retry go get -v -x github.com/kwilczynski/go-magic
script: go test -v -x ./... -run '^Test.*'

Add Go version 1.2 to be run on Travis CI.
Add Go version 1.2 to be run on Travis CI.

Signed-off-by: Krzysztof Wilczynski <9bf091559fc98493329f7d619638c79e91ccf029@linux.com>
