Merge branch 'bug/refactor-ci' into 'master'
Refactor CI Closes #98 See merge request framasoft/mobilizon!103
This commit is contained in:
commit
2ccf7675a4
@ -1,6 +1,7 @@
|
||||
image: tcitworld/mobilizon-ci
|
||||
|
||||
stages:
|
||||
- deps
|
||||
- front
|
||||
- back
|
||||
- deploy
|
||||
@ -19,6 +20,28 @@ variables:
|
||||
MOBILIZON_DATABASE_HOST: $POSTGRES_HOST
|
||||
GEOLITE_CITIES_PATH: "/usr/share/GeoIP/GeoLite2-City.mmdb"
|
||||
|
||||
setup_elixir_deps:
|
||||
stage: deps
|
||||
script:
|
||||
- mix deps.get
|
||||
- mix compile
|
||||
cache:
|
||||
paths:
|
||||
- deps
|
||||
- _build
|
||||
|
||||
setup_js_deps:
|
||||
stage: deps
|
||||
before_script:
|
||||
- cd js
|
||||
script:
|
||||
- npm install
|
||||
after_script:
|
||||
- cd ../
|
||||
cache:
|
||||
paths:
|
||||
- js/node_modules
|
||||
|
||||
js:
|
||||
stage: front
|
||||
before_script:
|
||||
|
Loading…
Reference in New Issue
Block a user