Last active
March 31, 2017 12:04
-
-
Save gearnode/335ea240e2610e0dc13465f0045b8ba4 to your computer and use it in GitHub Desktop.
CircleCI 2.0 configuration for elixir umbrella with phoenix
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
version: 2 | |
jobs: | |
build: | |
working_directory: /home/safeguard | |
docker: | |
- image: elixir:1.4.1 | |
environment: | |
- MIX_ENV: test | |
- image: postgres:9.6 | |
steps: | |
- checkout | |
- run: | |
name: Install dependencies | |
command: | | |
mix local.hex --force | |
mix deps.get | |
- run: | |
name: Run compile | |
command: mix compile | |
- run: | |
name: Run Test | |
command: mix test | |
- run: | |
name: Run Linter | |
command: mix credo --strict |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment