diff --git a/.travis.yml b/.travis.yml index ec78ada..f03080e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,15 @@ +sudo: required +dist: trusty +os: + - linux + - osx language: go go: - 1.5 - 1.6 - tip before_install: + - ./.travis/install.sh - go get github.com/mattn/goveralls - go get golang.org/x/tools/cmd/cover script: diff --git a/.travis/install.sh b/.travis/install.sh new file mode 100755 index 0000000..1214710 --- /dev/null +++ b/.travis/install.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +if [[ $TRAVIS_OS_NAME == "osx" ]]; then + brew install libsqlite3 +fi