1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-30 04:39:00 +01:00
psalm/.travis.yml

31 lines
601 B
YAML
Raw Normal View History

2016-12-07 06:01:49 +01:00
language: php
2016-12-07 06:16:15 +01:00
matrix:
include:
- php: 7.0
- php: 7.1
- php: 7.2
env: COVERALLS=true
2016-12-07 06:16:15 +01:00
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
- if [[ $COVERALLS = "" ]]; then phpenv config-rm xdebug.ini; fi
2016-12-07 06:16:15 +01:00
install:
2016-12-23 20:45:20 +01:00
- composer --prefer-source install
script:
- vendor/bin/phpunit
- ./psalm --find-dead-code
- vendor/bin/phpcs
after_success:
2017-12-14 06:48:27 +01:00
- travis_retry php vendor/bin/php-coveralls -v