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"]
53 - mix test --trace --preload-modules
58 - mix format --check-formatted
64 - mix credo --strict --only=warnings,todo,fixme,consistency,readability
71 - master@pleroma/pleroma
72 - develop@pleroma/pleroma
74 - apk update && apk add openssh-client rsync
77 - echo "${SSH_HOST_KEY}" > ~/.ssh/known_hosts
78 - eval $(ssh-agent -s)
79 - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
80 - rsync -hrvz --delete -e "ssh -p ${SSH_PORT}" priv/static/doc/ "${SSH_USER_HOST_LOCATION}/${CI_COMMIT_REF_NAME}"