diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 45dc083..0000000 --- a/.travis.yml +++ /dev/null @@ -1,83 +0,0 @@ -os: linux -dist: xenial - -language: php -php: 7.4 - -services: - - mysql - -notifications: - email: - on_success: never - on_failure: change - -branches: - only: - - master - -cache: - directories: - - $HOME/.composer/cache - -env: - global: - - PATH="$TRAVIS_BUILD_DIR/vendor/bin:$PATH" - - WP_CLI_BIN_DIR="$TRAVIS_BUILD_DIR/vendor/bin" - -before_install: - - | - # Remove Xdebug for a huge performance increase: - if [ -f ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini ]; then - phpenv config-rm xdebug.ini - else - echo "xdebug.ini does not exist" - fi - - | - # Raise PHP memory limit to 2048MB - echo 'memory_limit = 2048M' >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini - - composer validate - -install: - - composer install - - composer prepare-tests - -script: - - composer phpunit - - composer behat || composer behat-rerun - -jobs: - include: - - stage: test - php: nightly - env: WP_VERSION=trunk - - stage: test - php: 7.4 - env: WP_VERSION=latest - - stage: test - php: 7.3 - env: WP_VERSION=latest - - stage: test - php: 7.2 - env: WP_VERSION=latest - - stage: test - php: 7.1 - env: WP_VERSION=latest - - stage: test - php: 7.0 - env: WP_VERSION=latest - - stage: test - php: 5.6 - env: WP_VERSION=latest - - stage: test - php: 5.6 - env: WP_VERSION=3.7.11 - dist: trusty - - stage: test - php: 5.6 - env: WP_VERSION=trunk - - allow_failures: - - stage: test - php: nightly - env: WP_VERSION=trunk