File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,13 @@ curl -L https://releases.hashicorp.com/consul/1.0.6/consul_1.0.6_linux_amd64.zip
23
23
unzip consul_1.0.6_linux_amd64.zip
24
24
popd
25
25
26
- # Install postgreSQL 9.5 and 9.6
26
+ # Install postgreSQL 9.5, 9.6, 10 and 11
27
27
# TODO(sgotti) remove this when semaphoreci images will have this already installed
28
28
sudo sh -c ' echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main 10" > /etc/apt/sources.list.d/pgdg.list'
29
+ sudo sh -c ' echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main 11" > /etc/apt/sources.list.d/pgdg.list'
29
30
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
30
31
sudo apt-get update
31
- sudo apt-get -y install postgresql-9.5 postgresql-9.6 postgresql-10
32
+ sudo apt-get -y install postgresql-9.5 postgresql-9.6 postgresql-10 postgresql-11
32
33
33
34
# Precompile stdlib with cgo disable to speedup builds
34
35
sudo -E CGO_ENABLED=0 go install -a -installsuffix cgo std
@@ -59,3 +60,7 @@ export PATH=/usr/lib/postgresql/9.6/bin/:$OLDPATH ; ./test
59
60
# Test with postgresql 10
60
61
echo " ===== Testing with postgreSQL 10 ====="
61
62
export PATH=/usr/lib/postgresql/10/bin/:$OLDPATH ; ./test
63
+
64
+ # Test with postgresql 11
65
+ echo " ===== Testing with postgreSQL 11 ====="
66
+ export PATH=/usr/lib/postgresql/11/bin/:$OLDPATH ; ./test
You can’t perform that action at this time.
0 commit comments