Skip to content

Commit

Permalink
Switching Travis CI builds to Ubuntu Xenial Xerus
Browse files Browse the repository at this point in the history
  • Loading branch information
morozov committed Nov 11, 2019
1 parent 45ab10e commit 3423d12
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
14 changes: 5 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: php
sudo: false
dist: trusty
dist: xenial

cache:
directories:
Expand Down Expand Up @@ -113,6 +113,8 @@ jobs:
- stage: Test
php: 7.3
env: DB=mysql COVERAGE=yes
services:
- mysql
- stage: Test
php: 7.3
env: DB=mysql.docker MYSQL_VERSION=5.7 COVERAGE=yes
Expand All @@ -130,6 +132,8 @@ jobs:
- stage: Test
php: 7.3
env: DB=mysqli COVERAGE=yes
services:
- mysql
- stage: Test
php: 7.3
env: DB=mysqli.docker MYSQL_VERSION=5.7 COVERAGE=yes
Expand Down Expand Up @@ -177,30 +181,22 @@ jobs:
- stage: Test
php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.4 COVERAGE=yes
services:
- postgresql
addons:
postgresql: "9.4"
- stage: Test
php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.5 COVERAGE=yes
services:
- postgresql
addons:
postgresql: "9.5"
- stage: Test
php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=9.6 COVERAGE=yes
services:
- postgresql
addons:
postgresql: "9.6"
- stage: Test
php: 7.3
env: DB=pgsql POSTGRESQL_VERSION=10.0 COVERAGE=yes
sudo: required
services:
- postgresql
addons:
postgresql: "10.0"
before_script:
Expand Down
2 changes: 1 addition & 1 deletion tests/travis/install-sqlsrv-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -ex
echo Installing driver dependencies

curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
curl https://packages.microsoft.com/config/ubuntu/14.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql.list
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list | sudo tee /etc/apt/sources.list.d/mssql.list
sudo apt-get update
ACCEPT_EULA=Y sudo apt-get install -qy msodbcsql17 unixodbc unixodbc-dev libssl1.0.0

0 comments on commit 3423d12

Please sign in to comment.