Advertisement
Guest User

Untitled

a guest
Jan 19th, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.59 KB | None | 0 0
  1. build_settings:
  2. verbose: false
  3. prefer_symlink: false
  4. ignore:
  5. - "vendor"
  6. # mysql:
  7. # host: "localhost"
  8. # user: "root"
  9. # pass: ""
  10. setup:
  11. # mysql:
  12. # - "DROP DATABASE IF EXISTS bands_test;"
  13. # - "CREATE DATABASE bands_test;"
  14. # - "GRANT ALL PRIVILEGES ON test.* TO test@'localhost' IDENTIFIED BY 'test';"
  15. composer:
  16. action: "install"
  17. prefer_dist: false
  18. shell:
  19. - "cd %BUILD_PATH% && cp .env.ci .env"
  20. - "echo copied .env file"
  21. - "cd %BUILD_PATH% && chmod 777 -R storage" #may not be necessary
  22. - "echo storage permissions updated"
  23. - "php artisan key:generate"
  24. # - "cd %BUILD_PATH% && php artisan migrate --seed" #I'm currently using sqlite for testing currently and
  25. # migrate/seeding in tests setup and teardown
  26. env:
  27. APP_ENV: "testing"
  28. DB_CONNECTION: "testing"
  29. test:
  30. php_parallel_lint:
  31. ignore:
  32. - vendor/
  33. - _ide_helper.php
  34. php_code_sniffer:
  35. #standard: "/phpcs.xml"
  36. #allowed_errors: 0
  37. #allowed_warnings: -1 #unlimited
  38. path: "app"
  39. ignore:
  40. - "app/views"
  41. standard: "PSR1,PSR2"
  42. php_mess_detector:
  43. path: "app"
  44. ignore:
  45. - 'vendor'
  46. rules:
  47. # - "cleancode" #throws a bunch of errors when using facades because of static method calls rule.
  48. - "controversial"
  49. - "codesize"
  50. - "design"
  51. - "naming"
  52. - "unusedcode"
  53. allow_failures: true
  54. zero_config: true # do not make build as failed if something was detected
  55. php_unit:
  56. config:
  57. - "phpunit.xml"
  58. path: "tests/"
  59. complete:
  60. # mysql:
  61. # - "DROP DATABASE IF EXISTS bands_test;"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement