Skip to content

Commit

Permalink
Test more modern golang on more modern postgresql
Browse files Browse the repository at this point in the history
  • Loading branch information
c2h5oh committed Dec 5, 2018
1 parent 768ee0b commit d7a3cc2
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,25 @@ notifications:
language: go

go:
- 1.7.x
- 1.8.x
- tip
- 1.10.x
- 1.11.x

env:
global:
- GOARCH=amd64
- TEST_HOST=127.0.0.1

addons:
postgresql: 9.4
postgresql: "10"
apt:
packages:
- postgresql-10
- postgresql-client-10

env: GOARCH=amd64 TEST_HOST=127.0.0.1
before_install:
- sudo sed -i -e '/local.*peer/s/postgres/all/' -e 's/peer\|md5/trust/g' /etc/postgresql/*/main/pg_hba.conf
- "sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/10/main/postgresql.conf"
- "sudo service postgresql restart 10"

install:
- mkdir -p $GOPATH/src/upper.io
Expand Down

0 comments on commit d7a3cc2

Please sign in to comment.