Skip to content

Commit

Permalink
Merge branch 'update-php'
Browse files Browse the repository at this point in the history
  • Loading branch information
visto9259 committed Feb 14, 2024
2 parents 0f8868b + d974bfd commit 8dda8e8
Showing 1 changed file with 59 additions and 0 deletions.
59 changes: 59 additions & 0 deletions .travis.yml.old
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
sudo: false

language: php

cache:
directories:
- $HOME/.composer/cache
- vendor

env:
global:
- COMPOSER_ARGS="--no-interaction"

matrix:
fast_finish: true
include:
- php: 7.3
env:
- DEPS=lowest
- php: 7.3
env:
- DEPS=latest
- php: 7.4
env:
- DEPS=lowest
- php: 7.4
env:
- DEPS=latest
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 8.0
env:
- DEPS=lowest
- php: 8.0
env:
- DEPS=latest


before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- travis_retry composer self-update

install:
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
- travis_retry composer install $COMPOSER_ARGS
- composer show

script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; fi
- if [[ $TEST_COVERAGE != 'true' ]]; then composer test ; fi
- if [[ $CS_CHECK == 'true' ]]; then composer cs-check ; fi

after_script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer upload-coverage ; fi

notifications:
irc: "irc.freenode.org#zftalk.modules"
email: false

0 comments on commit 8dda8e8

Please sign in to comment.