diff options
author | lain <lain@soykaf.club> | 2019-10-16 11:54:49 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-10-16 11:54:49 +0000 |
commit | 6977cddff96191f8bba64e01d1890193780b6090 (patch) | |
tree | 34215338e2347d072e96ded4b937f97123ee28df /.gitlab-ci.yml | |
parent | 3b1bc079af8fb6e467a9114de0d32e2de59a7fab (diff) | |
parent | 8c0cfed825480ae6338fb1d183dee1440e0ee29c (diff) | |
download | pleroma-6977cddff96191f8bba64e01d1890193780b6090.tar.gz |
Merge branch 'benchmark-finishing' into 'develop'
Benchmark finishing
Closes #755
See merge request pleroma/pleroma!1848
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 36137b38e..04af8c186 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,6 +15,7 @@ cache: stages: - build - test + - benchmark - deploy - release @@ -28,6 +29,36 @@ build: - mix deps.get - mix compile --force +docs-build: + stage: build + only: + - master@pleroma/pleroma + - develop@pleroma/pleroma + variables: + MIX_ENV: dev + PLEROMA_BUILD_ENV: prod + script: + - mix deps.get + - mix compile + - mix docs + artifacts: + paths: + - priv/static/doc + +benchmark: + stage: benchmark + variables: + MIX_ENV: benchmark + services: + - name: lainsoykaf/postgres-with-rum + alias: postgres + command: ["postgres", "-c", "fsync=off", "-c", "synchronous_commit=off", "-c", "full_page_writes=off"] + script: + - mix deps.get + - mix ecto.create + - mix ecto.migrate + - mix pleroma.load_testing + unit-testing: stage: test services: |