Last active
February 25, 2017 20:28
-
-
Save nahtnam/ddc44cf09c02438d027fe99b24cbd349 to your computer and use it in GitHub Desktop.
Using Phoenix on Gitlab CI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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