From 89ef2ae1031abebcdf0a614007fb478239a11784 Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Wed, 18 Mar 2020 12:23:28 -0400 Subject: [PATCH] Attempt to fix travis build --- .travis.yml | 13 ++++++++----- composer.json | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index bfdcb22..7d9630a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,8 +9,10 @@ arch: language: php services: - - mysql - - postgresql + - if: arch = amd64 + - [ mysql, postgresql ] + - if: arch != amd64 + - mysql php: - 7.2 @@ -19,10 +21,11 @@ php: - nightly before_script: - - psql -c 'DROP DATABASE IF EXISTS test;' -U postgres - - psql -c 'create database test;' -U postgres + - if: arch = amd64 + - psql -c 'DROP DATABASE IF EXISTS test;' -U postgres + - psql -c 'create database test;' -U postgres - mysql -e 'create database IF NOT EXISTS test;' - - composer install + - composer install --ignore-platform-reqs script: - mkdir -p build/logs diff --git a/composer.json b/composer.json index a78fcd2..fe41c92 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "role": "Developer" }], "require": { - "php": "^7.2 || 8", + "php": "^7.2", "ext-pdo": "*" }, "require-dev": {