diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c5d5d54..6614d07 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,8 +16,8 @@ jobs: coverage: true - php: 8.1 symfony: "^4.4" -# - php: 7.4 -# symfony: "^5.4" + - php: 8.3 + symfony: "^4.4" steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 783fda3..0000000 --- a/.travis.yml +++ /dev/null @@ -1,62 +0,0 @@ -language: php -os: linux -services: - - docker - -cache: - directories: - - $HOME/.composer/cache/files - -matrix: - include: - - php: 5.6 - env: - - DEPS="low" - - COMPOSER_MEMORY_LIMIT="-1" - - php: 7.2 - env: - - DEPS="lock" - - php: '7.0' - env: - - SYMFONY=2.8.* - - php: '7.0' - env: - - SYMFONY=3.4.* - - php: '7.1' - env: - - SYMFONY=4.* - - php: '7.2' - - php: '7.3' - - php: '7.4' - env: - - SYMFONY=dev-master - allow_failures: - - env: - - SYMFONY=dev-master - fast_finish: true - -before_install: - - composer self-update - - if [ "$SYMFONY" != "" ]; then sed -ri 's/\^2.7 \|\| \^3.0 \|\| \^4.0/'$SYMFONY'/' composer.json; fi; - -install: - - if [[ $DEPS == "low" ]]; then composer update --prefer-lowest --prefer-dist --prefer-stable --no-interaction; fi - - if [[ $DEPS == "lock" ]]; then composer install --prefer-dist --no-interaction; fi - - if [[ -z $DEPS ]]; then composer update --prefer-dist --prefer-stable --no-interaction; fi - -before_script: - - docker-compose up -d - - tests/wait_for_crossbar.sh - -script: - - vendor/bin/phpunit -v --coverage-clover clover.xml - - bash <(curl -s https://codecov.io/bash) -f clover.xml - - docker-compose logs - -after_success: - - if [[ $TEST_COVERAGE ]]; then php vendor/bin/coveralls -v; fi - - wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover clover.xml - -notifications: - on_success: never - on_failure: always