Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
391B

  1. image: elixir:1.5
  2. services:
  3. - postgres:9.6.2
  4. variables:
  5. POSTGRES_DB: pleroma_test
  6. POSTGRES_USER: postgres
  7. POSTGRES_PASSWORD: postgres
  8. stages:
  9. - test
  10. before_script:
  11. - mix local.hex --force
  12. - mix local.rebar --force
  13. - mix deps.get
  14. - MIX_ENV=test mix ecto.create
  15. - MIX_ENV=test mix ecto.migrate
  16. unit-testing:
  17. stage: test
  18. script:
  19. - MIX_ENV=test mix test --trace