Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ language: php

php:
- 7.2
- 7.4
# - hhvm

services:
Expand Down Expand Up @@ -51,6 +50,15 @@ matrix:
- composer require --dev phpunit/phpunit ~9.3 --ignore-platform-reqs
- cd tests/PHPUnit
- $PIWIK_ROOT_DIR/tests/travis/travis.sh
- php: 8.1
env: TEST_SUITE=PluginTests MYSQL_ADAPTER=PDO_MYSQL TEST_AGAINST_CORE=minimum_required_piwik SKIP_COMPOSER_INSTALL=1
script:
- cd $PIWIK_ROOT_DIR
- composer install --ignore-platform-reqs
- composer remove --dev phpunit/phpunit
- composer require --dev phpunit/phpunit ~9.3 --ignore-platform-reqs
- cd tests/PHPUnit
- $PIWIK_ROOT_DIR/tests/travis/travis.sh

dist: bionic

Expand All @@ -76,7 +84,7 @@ install:
- '[ -d ./tests/travis/.git ] || sh -c "rm -rf ./tests/travis && git clone https://github.com/matomo-org/travis-scripts.git ./tests/travis"'
- cd ./tests/travis ; git checkout master ; cd ../..

- export GENERATE_TRAVIS_YML_COMMAND="php ./tests/travis/generator/main.php generate:travis-yml --plugin=\"DeviceDetectorCache\" --php-versions=\"7.2,7.4\" --distribution=\"bionic\" --sudo-false --verbose"
- export GENERATE_TRAVIS_YML_COMMAND="php ./tests/travis/generator/main.php generate:travis-yml --plugin=\"DeviceDetectorCache\" --php-versions=\"7.2\" --distribution=\"bionic\" --sudo-false --verbose"
- '[[ "$TRAVIS_JOB_NUMBER" != *.1 || "$TRAVIS_PULL_REQUEST" != "false" ]] || ./tests/travis/autoupdate_travis_yml.sh'

- ./tests/travis/checkout_test_against_branch.sh
Expand Down