language: php

php: 7.1

sudo: false

env:
  - APP_KEY=base64:xIqp823QoWI8aYcDVlMpLlhFDodhCIFpwh0VQe6CEtg=

cache:
  directories:
    - vendor

before_script:
  - composer self-update
  - composer install

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

after_script:
  - vendor/bin/test-reporter

deploy:
  provider: script
  script: curl $ENVOYER_DEPLOYMENT_HOOK
  on:
    branch: master
    
addons:
  code_climate:
    repo_token: $CODE_CLIMATE_TOKEN

language: php

php: 7.1

sudo: false

env:
  - APP_KEY=base64:xIqp823QoWI8aYcDVlMpLlhFDodhCIFpwh0VQe6CEtg=

cache:
  directories:
    - vendor

before_script:
  - composer install

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

after_script:
  - vendor/bin/test-reporter

deploy:
  provider: script
  script: curl $ENVOYER_DEPLOYMENT_HOOK
  on:
    branch: master
    
addons:
  code_climate:
    repo_token: $CODE_CLIMATE_TOKEN

Remove an unnecessary Composer self-update
Remove an unnecessary Composer self-update

This is done by Travis automatically.