Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. # Phoenix CircleCI 2.0 configuration file
  2. #
  3. version: 2
  4. jobs:
  5. build:
  6. docker:
  7. # specify the version you desire here
  8. - image: elixir:1.4.5
  9. environment:
  10. - MIX_ENV: test
  11. - DATA_DB_USER: postgres
  12. - DATA_DB_PASS: postgres
  13. - DATA_DB_HOST: localhost
  14. - image: postgres:9.6
  15.  
  16. working_directory: ~/repo
  17.  
  18. steps:
  19. - checkout
  20.  
  21. - run:
  22. name: Install dependencies
  23. command: |
  24. mix local.rebar --force
  25. mix local.hex --force
  26. mix deps.get
  27.  
  28. - run:
  29. name: Compile
  30. command: mix compile
  31.  
  32. - run:
  33. name: Linting
  34. command: mix credo --strict
  35.  
  36. - run:
  37. name: Unit Testing
  38. command: mix test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement