Commit graph

130 commits

Author SHA1 Message Date
Thomas Citharel 7dd7e8fc36
Fix mix format and format migrations too
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix credo warnings

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Show elixir version

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Also lint migrations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Reset allow failure to false

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 14:53:09 +01:00
Thomas Citharel 2f2c538cc9
Add Credo checks and refactor code
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Make Logger.debug calls lazy

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Add missing @moduledocs

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Refactor according to credo

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Final fixes and add credo to CI

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Closes #52
2019-01-03 15:52:48 +01:00
Thomas Citharel 6885c73aa8
Change configuration and docker compose
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-03 11:33:52 +01:00
Thomas Citharel 932837f7bb Introduce CI stages (front / back), mix format runs in parallel 2018-12-18 12:26:10 +01:00
Thomas Citharel 3ba4fb351e
Embed GeoIP database into Docker Image instead of downloading it each
time

Closes #42

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-18 11:24:22 +01:00
Thomas Citharel 1e86797e07 Cache more things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:45:15 +01:00
Thomas Citharel bdc16bad6b Better CI cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:32:59 +01:00
Thomas Citharel b54dae7e15 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel 559c889f1b Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel 3b48ac957f Put js build through phoenix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel eb0c0002be Update deps 2018-08-24 12:31:41 +02:00
Thomas Citharel 979aad5acb Remove credo and use mix format, and lint everything
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-27 10:45:35 +02:00
Thomas Citharel 28987fc689 Download GeoIP files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug geoip fils

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Damn it, forgot you

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Fix

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Debug

Signed-off-by: Thomas Citharel <tcit@tcit.fr>

Finalize

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 17:17:13 +02:00
Thomas Citharel 02a4155e87 Move to Elixir 1.6
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-26 10:24:45 +01:00
Thomas Citharel bc80320098 Remove dogma
Closes #3

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-21 19:29:41 +01:00
Thomas Citharel 1217361b6c fix some code style and add checks to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 17:57:25 +01:00
Thomas Citharel 67b8890f77 add coveralls
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:56:26 +01:00
Thomas Citharel ffeeb29e7f use an alias for pg CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:47:03 +01:00
Thomas Citharel 7d8c234cbd debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:44:40 +01:00
Thomas Citharel 0fe8841ac9 debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:42:37 +01:00
Thomas Citharel 8b2a76502f debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:39:48 +01:00
Thomas Citharel bebea216b4 debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:34:48 +01:00
Thomas Citharel 16c180d512 debug
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:21:20 +01:00
Thomas Citharel d16d6d07d8 add pg client
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:10:42 +01:00
Thomas Citharel bdb95d3a9e added ecto migrate before script (with not much hope)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:08:40 +01:00
Thomas Citharel a9fe91fc23 use own pg config
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 00:03:04 +01:00
Thomas Citharel 8fbf8563f3 make credo not a failure for ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:53:19 +01:00
Thomas Citharel 960ef0c276 add cache, credo and postgis to ci
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:49:37 +01:00
Thomas Citharel 97c1c4e2a3 fix ci env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:40:06 +01:00
Thomas Citharel b763014ad3 Add .gitlab-ci.yml 2018-01-13 23:35:11 +01:00