Skip to content

Commit 645fea9

Browse files
committed
avoid unnecessary matrixes in travis
1 parent 700973c commit 645fea9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

.travis.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,16 @@ before_install:
1212
- mysql -e 'CREATE DATABASE IF NOT EXISTS sqlxtest;'
1313
- psql -c 'create database sqlxtest;' -U postgres
1414
- go get github.com/mattn/goveralls
15+
- export SQLX_MYSQL_DSN="travis:@/sqlxtest?parseTime=true"
16+
- export SQLX_POSTGRES_DSN="postgres://postgres:@localhost/sqlxtest?sslmode=disable"
17+
- export SQLX_SQLITE_DSN="$HOME/sqlxtest.db"
1518

1619
# go versions to test
1720
go:
1821
- "1.8"
1922
- "1.9"
2023
- "1.10.x"
2124

22-
# environment to test everything at once; we want to avoid build matrixes
23-
env:
24-
- SQLX_MYSQL_DSN="travis:@/sqlxtest?parseTime=true"
25-
- SQLX_POSTGRES_DSN="postgres://postgres:@localhost/sqlxtest?sslmode=disable"
26-
- SQLX_SQLITE_DSN="$HOME/sqlxtest.db"
27-
2825
# run tests w/ coverage
2926
script:
3027
- $GOPATH/bin/goveralls -service=travis-ci

0 commit comments

Comments
 (0)