Skip to content

Commit

Permalink
Travis should run our tests
Browse files Browse the repository at this point in the history
  • Loading branch information
doomspork committed Mar 6, 2019
1 parent 05e4cab commit dd0095b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,19 @@ elixir:
otp_release:
- 21.2

addons:
postgresql: "9.5"

env:
- MIX_ENV=test

script:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix do compile --warnings-as-errors --force
- mix format --check-formatted
- mix test

cache:
directories:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

_Note_: You need to set up a [GitHub Application](https://developer.github.com/) and ensure `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` are available to your application.

_Note_: You need to have Postgres version 9.5+, due to our use of certain features that are fairly new (JSONB Data Type + ON CONFLICT query).

_Note_: If for some reason you reset the database on your machine, you will see an error as the browser has cookies for a user that does not exist in the database. You will need to clear the cookies and site data for the page on your browser and refresh the page to remove the error.

0 comments on commit dd0095b

Please sign in to comment.