language: php php: - '5.6' - '7.0' - '7.1' - '7.2' cache: directories: - ./vendor before_install: # determine INI file - export INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini # disable default memory limit - echo memory_limit = 2G >> $INI install: - composer --prefer-source install script: - vendor/bin/phpunit - ./psalm --find-dead-code - vendor/bin/phpcs after_success: - travis_retry php vendor/bin/php-coveralls -v