Fix Travis CI trying to build Pico 3.0 on PHP 5.x

This commit is contained in:
Daniel Rudolf 2020-03-29 14:58:00 +02:00
parent 2ee41e9a8d
commit 727d8a12c0
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538
2 changed files with 5 additions and 14 deletions

View File

@ -10,14 +10,6 @@ cache:
jobs: jobs:
include: include:
# Test stage # Test stage
- php: 5.3
dist: precise
- php: 5.4
dist: trusty
- php: 5.5
dist: trusty
- php: 5.6
dist: xenial
- php: 7.0 - php: 7.0
dist: xenial dist: xenial
- php: 7.1 - php: 7.1
@ -25,15 +17,14 @@ jobs:
- php: 7.3 - php: 7.3
- php: 7.4 - php: 7.4
- php: nightly - php: nightly
- php: hhvm-3.24 # until Dec 2018
- php: hhvm-3.27 # until Sep 2019 - php: hhvm-3.27 # until Sep 2019
- php: hhvm-3.30 # until Nov 2019 - php: hhvm-3.30 # until Nov 2019
# Branch deployment stage # Branch deployment stage
- stage: deploy-branch - stage: deploy-branch
if: type == "push" && tag IS blank if: type == "push" && tag IS blank
php: 5.3 php: 7.0
dist: precise dist: xenial
install: install:
- '[[ ",$DEPLOY_PHPDOC_BRANCHES," == *,"$TRAVIS_BRANCH",* ]] || travis_terminate 0' - '[[ ",$DEPLOY_PHPDOC_BRANCHES," == *,"$TRAVIS_BRANCH",* ]] || travis_terminate 0'
- install.sh --deploy - install.sh --deploy
@ -43,8 +34,8 @@ jobs:
# Release deployment stage # Release deployment stage
- stage: deploy-release - stage: deploy-release
if: tag IS present if: tag IS present
php: 5.3 php: 7.0
dist: precise dist: xenial
install: install:
- install.sh --deploy - install.sh --deploy
script: script:

View File

@ -31,7 +31,7 @@
"source": "https://github.com/picocms/Pico" "source": "https://github.com/picocms/Pico"
}, },
"require": { "require": {
"php": "^7.0.8", "php": ">=7.0.8",
"twig/twig": "^2.12", "twig/twig": "^2.12",
"symfony/yaml" : "^3.4", "symfony/yaml" : "^3.4",
"erusev/parsedown": "1.7.4", "erusev/parsedown": "1.7.4",