.gitlab-ci.yml 418 B

1234567891011121314151617181920212223242526272829303132333435
  1. stages:
  2. - build
  3. - test
  4. - deploy
  5. cache:
  6. paths:
  7. - vendor/
  8. before_script:
  9. # - sudo cp ci/.envCi .env
  10. # - sudo bash ci/installEnv.sh
  11. build:
  12. stage: build
  13. tags:
  14. - was
  15. script:
  16. - echo "build ....."
  17. test:
  18. stage: test
  19. tags:
  20. - was
  21. script:
  22. - echo "run test....."
  23. - vendor/bin/phpunit --testsuite=Unit
  24. deploy:
  25. stage: deploy
  26. tags:
  27. - was
  28. script:
  29. - echo "deploy ...."