Skip to content

Instantly share code, notes, and snippets.

@rufhausen
Created January 19, 2017 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rufhausen/e1dd66e6115ffbf2b1833e83f49f8061 to your computer and use it in GitHub Desktop.
Save rufhausen/e1dd66e6115ffbf2b1833e83f49f8061 to your computer and use it in GitHub Desktop.
Laravel 5.3 Travis-CI config
language: php
php:
# - '5.6'
- '7.0'
# - '7.1'
sudo: false
before_script:
- cp .env.ci .env
- composer install --dev --prefer-source --no-interaction
- php artisan key:generate
- php artisan migrate --seed
script:
- vendor/bin/phpmd app text codesize design naming unusedcode
- vendor/bin/phpunit --testdox --coverage-text tests
notifications:
email:
recipients:
- gtaylor@electricwerks.com
on_success: always
on_failure: always
Copy link

ghost commented Jun 16, 2017

Perfect, thank you! I will try it out now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment