From b1cb24388d003e11dfabac175d5b53ab737be3ce Mon Sep 17 00:00:00 2001 From: Zbigniew Mandziejewicz Date: Fri, 22 Apr 2016 21:01:42 +0800 Subject: [PATCH] Install libsqlite3 using homebrew on OSX --- .travis.yml | 6 ++++++ .travis/install.sh | 5 +++++ 2 files changed, 11 insertions(+) create mode 100755 .travis/install.sh 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