From 645fea9208952a57280bbfd3a1f29150fe89f645 Mon Sep 17 00:00:00 2001 From: Jason Moiron Date: Tue, 27 Feb 2018 23:09:12 -0500 Subject: [PATCH] avoid unnecessary matrixes in travis --- .travis.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index a9e2008f..b6cc4d4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,9 @@ before_install: - mysql -e 'CREATE DATABASE IF NOT EXISTS sqlxtest;' - psql -c 'create database sqlxtest;' -U postgres - go get github.com/mattn/goveralls + - export SQLX_MYSQL_DSN="travis:@/sqlxtest?parseTime=true" + - export SQLX_POSTGRES_DSN="postgres://postgres:@localhost/sqlxtest?sslmode=disable" + - export SQLX_SQLITE_DSN="$HOME/sqlxtest.db" # go versions to test go: @@ -19,12 +22,6 @@ go: - "1.9" - "1.10.x" -# environment to test everything at once; we want to avoid build matrixes -env: - - SQLX_MYSQL_DSN="travis:@/sqlxtest?parseTime=true" - - SQLX_POSTGRES_DSN="postgres://postgres:@localhost/sqlxtest?sslmode=disable" - - SQLX_SQLITE_DSN="$HOME/sqlxtest.db" - # run tests w/ coverage script: - $GOPATH/bin/goveralls -service=travis-ci