diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 058900a..0000000 --- a/.travis.yml +++ /dev/null @@ -1,26 +0,0 @@ -language: php -php: - - '8.0.0' - -env: - matrix: - - COMPOSER_FLAGS="--prefer-lowest" - #- COMPOSER_FLAGS="" - -before_script: - - sudo apt-get update - - sudo apt-get install -y apt-transport-https apt-utils curl snmp - - sudo add-apt-repository -y ppa:ondrej/php - - sudo apt-get update - - sudo apt-get install -y php8.0-snmp - #- cat /home/travis/.phpenv/versions/$(phpenv version-name)/etc/php.ini - - sed -i 's/;extension=snmp/extension=snmp/g' /home/travis/.phpenv/versions/$(phpenv version-name)/etc/php.ini - - echo 'extension="snmp.so"' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - - travis_retry composer self-update - - travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source - -script: - - vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover - -after_script: - - php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover