# Travis CI Configuration File
language:   php

php:
    - 5.6
    - 7.0
    - 7.1
    - 7.2
#    - 7.3
    
cache:
  directories:
    - $HOME/.composer/cache
    
script:
    # With PHP 7 => Load Phpstan   
    - if [[ ${TRAVIS_PHP_VERSION:0:3} < "7.1" ]]; then composer remove phpstan/phpstan-shim --no-update --dev; fi
    
    - composer update --no-suggest
    - php ./vendor/bin/grumphp run --testsuite=travis

    # With PHP > 7.0 => Execute CsFixer
    - if [[ ${TRAVIS_PHP_VERSION:0:3} > "7.0" ]]; then php ./vendor/bin/grumphp run --testsuite=csfixer; fi    
    
    # With PHP > 7.0 => Execute Phpstan 
    - if [[ ${TRAVIS_PHP_VERSION:0:3} > "7.0" ]]; then php ./vendor/bin/grumphp run --testsuite=phpstan; fi    

    # Execute Core Tests   
    - phpunit

    # Show Outdated Packages   
    - composer outdated

        
notifications:
  email:         
    on_success: never # default: change
    on_failure: never # default: always


# Travis CI Configuration File
language:   php

php:
    - 5.6
    - 7.0
    - 7.1
    - 7.2
#    - 7.3
    
cache:
  directories:
    - $HOME/.composer/cache
    
script:
    # With PHP 7 => Load Phpstan   
    - if [[ ${TRAVIS_PHP_VERSION:0:3} < "7.1" ]]; then composer remove phpstan/phpstan-shim --no-update --dev; fi
    - if [[ ${TRAVIS_PHP_VERSION:0:3} < "7.1" ]]; then composer remove phpstan/phpstan-phpunit --no-update --dev; fi
    
    - composer update --no-suggest
    - php ./vendor/bin/grumphp run --testsuite=travis

    # With PHP > 7.0 => Execute CsFixer
    - if [[ ${TRAVIS_PHP_VERSION:0:3} > "7.0" ]]; then php ./vendor/bin/grumphp run --testsuite=csfixer; fi    
    
    # With PHP > 7.0 => Execute Phpstan 
    - if [[ ${TRAVIS_PHP_VERSION:0:3} > "7.0" ]]; then php ./vendor/bin/grumphp run --testsuite=phpstan; fi    

    # Execute Core Tests   
    - phpunit

    # Show Outdated Packages   
    - composer outdated

        
notifications:
  email:         
    on_success: never # default: change
    on_failure: never # default: always


Migrate to Splash Php Core V2
Migrate to Splash Php Core V2