language: php

php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4

before_script:
  - composer install

script:
  - mkdir -p build/logs
  - vendor/bin/psalm.phar
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - vendor/bin/php-coveralls -v

language: php

php:
  - 7.1
  - 7.2
  - 7.3
  - 7.4
  - nightly

before_script:
  - composer install

script:
  - mkdir -p build/logs
  - vendor/bin/phpunit --coverage-clover build/logs/clover.xml

after_script:
  - vendor/bin/php-coveralls -v

jobs:
  include:
    - php: 7.4
      name: Psalm
      script: vendor/bin/psalm.phar

Add php-nightly, move Psalm to separate job
Add php-nightly, move Psalm to separate job
