Skip to content

Instantly share code, notes, and snippets.

@midnite81
Created September 21, 2018 09:14
Show Gist options
  • Save midnite81/20f8973df3342ff40414947b56babe2f to your computer and use it in GitHub Desktop.
Save midnite81/20f8973df3342ff40414947b56babe2f to your computer and use it in GitHub Desktop.
Default example of a travis yml file.
language: php
php:
- 7.0
- 7.1
before_script:
- travis_retry composer self-update
- travis_retry composer install --prefer-source --no-interaction --dev
script:
- mkdir -p build/logs
- vendor/bin/phpunit tests --coverage-clover build/logs/clover.xml
after_success:
- php vendor/bin/coveralls -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment