Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Phoenix CircleCI 2.0 configuration file
- #
- version: 2
- jobs:
- build:
- docker:
- # specify the version you desire here
- - image: elixir:1.4.5
- environment:
- - MIX_ENV: test
- - DATA_DB_USER: postgres
- - DATA_DB_PASS: postgres
- - DATA_DB_HOST: localhost
- - image: postgres:9.6
- working_directory: ~/repo
- steps:
- - checkout
- - run:
- name: Install dependencies
- command: |
- mix local.rebar --force
- mix local.hex --force
- mix deps.get
- - run:
- name: Compile
- command: mix compile
- - run:
- name: Linting
- command: mix credo --strict
- - run:
- name: Unit Testing
- command: mix test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement