Skip to content

Instantly share code, notes, and snippets.

@nahtnam
Last active February 25, 2017 20:28
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 nahtnam/ddc44cf09c02438d027fe99b24cbd349 to your computer and use it in GitHub Desktop.
Save nahtnam/ddc44cf09c02438d027fe99b24cbd349 to your computer and use it in GitHub Desktop.
Using Phoenix on Gitlab CI
image: elixir:1.3
services:
- postgres:9.6
variables:
MIX_ENV: "test"
before_script:
# Setup phoenix dependencies
- apt-get update
- apt-get install -y postgresql-client
- mix local.hex --force
- mix deps.get --only test
- mix ecto.reset
test:
script:
- mix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment