4 POSTGRES_DB: pleroma_test
5 POSTGRES_USER: postgres
6 POSTGRES_PASSWORD: postgres
11 key: ${CI_COMMIT_REF_SLUG}
21 - mix local.hex --force
22 - mix local.rebar --force
33 - master@pleroma/pleroma
34 - develop@pleroma/pleroma
48 - name: postgres:9.6.2
49 command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"]
54 - mix test --trace --preload-modules
59 - mix format --check-formatted
65 - mix credo --strict --only=warnings,todo,fixme,consistency,readability
72 - master@pleroma/pleroma
73 - develop@pleroma/pleroma
75 - apk update && apk add openssh-client rsync
78 - echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts
79 - eval $(ssh-agent -s)
80 - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
81 - rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" priv/static/doc/ "${SSH_USER_HOST_LOCATION}/${CI_COMMIT_REF_NAME}"