Skip to content

Commit

Permalink
Add .circleci/config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
oltarasenko committed Nov 22, 2020
1 parent afa94d9 commit 5f448a4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 21 deletions.
14 changes: 13 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,23 @@ jobs:
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
- image: circleci/postgres:9.4
auth:
username: mydockerhub-user
password: $DOCKERHUB_PASSWORD
environment:
POSTGRES_USER: postgres
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: "crawly_ui_test"

working_directory: ~/repo
steps:
- checkout

# specify any bash command here prefixed with `run: `
- run: mix local.hex --force
- run: mix local.rebar --force
- run: mix deps.get
- run: mix coveralls.circle
- run: MIX_ENV=test mix format --check-formatted
- run: MIX_ENV=test mix compile --warnings-as-errors
- run: MIX_ENV=test mix test --trace
- run: MIX_ENV=test mix coveralls.circle
20 changes: 0 additions & 20 deletions .travis.yml

This file was deleted.

0 comments on commit 5f448a4

Please sign in to comment.