Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
997b1938
Unverified
Commit
997b1938
authored
May 23, 2018
by
Sergei Morozov
Committed by
GitHub
May 23, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3160 from Majkl578/postgres11
Test against Postgres 11
parents
8847fd6c
d9a4ef58
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
0 deletions
+55
-0
.travis.yml
.travis.yml
+26
-0
Dockerfile-postgres11
tests/travis/Dockerfile-postgres11
+15
-0
install-postgres-11.sh
tests/travis/install-postgres-11.sh
+14
-0
No files found.
.travis.yml
View file @
997b1938
...
@@ -54,6 +54,7 @@ jobs:
...
@@ -54,6 +54,7 @@ jobs:
allow_failures
:
allow_failures
:
-
php
:
nightly
-
php
:
nightly
-
stage
:
Coding standard
-
stage
:
Coding standard
-
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
exclude
:
exclude
:
-
php
:
7.1
-
php
:
7.1
...
@@ -319,6 +320,31 @@ jobs:
...
@@ -319,6 +320,31 @@ jobs:
before_script
:
before_script
:
-
bash ./tests/travis/install-postgres-10.sh
-
bash ./tests/travis/install-postgres-10.sh
-
stage
:
Test
php
:
7.1
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
php
:
7.2
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
php
:
nightly
env
:
DB=pgsql POSTGRESQL_VERSION=11.0
sudo
:
required
services
:
-
docker
before_script
:
-
bash ./tests/travis/install-postgres-11.sh
-
stage
:
Test
-
stage
:
Test
env
:
DB=sqlsrv COVERAGE=yes
env
:
DB=sqlsrv COVERAGE=yes
sudo
:
required
sudo
:
required
...
...
tests/travis/Dockerfile-postgres11
0 → 100644
View file @
997b1938
FROM debian:experimental-20180426
RUN apt-get update && \
apt-get install -y -t experimental --no-install-recommends \
postgresql-11 \
postgresql-client-11 \
&& \
rm -rf /var/lib/apt/lists/*
RUN echo "host all all all trust" >> /etc/postgresql/11/main/pg_hba.conf
RUN echo "listen_addresses='*'" >> /etc/postgresql/11/main/conf.d/listen.conf
EXPOSE 5432
CMD ["sleep", "inf"]
tests/travis/install-postgres-11.sh
0 → 100644
View file @
997b1938
#!/usr/bin/env bash
set
-ex
echo
"Preparing Postgres 11"
sudo
service postgresql stop
||
true
sudo
docker build
-t
postgres11 - < tests/travis/Dockerfile-postgres11
sudo
docker run
-d
--name
postgres11
-p
5432:5432 postgres11
sudo
docker
exec
postgres11 service postgresql start
sudo
docker
exec
-i
postgres11 su
-c
psql postgres
<<<
"create database doctrine_tests"
echo
"Postgres 11 ready"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment