# What points you suggest to decrease duration time of Gitlab CI?

**URL:** <https://forum.elixirforum.com/t/what-points-you-suggest-to-decrease-duration-time-of-gitlab-ci/27930>\
**Category:** Questions\
**Tags:** phoenix, test\
**Created:** [January 1, 2020, 6:57pm UTC](https://forum.elixirforum.com/t/what-points-you-suggest-to-decrease-duration-time-of-gitlab-ci/27930 "2020-01-01T18:57:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mcrunix](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mcrunix/32/27065_2.png) [@mcrunix](https://forum.elixirforum.com/u/mcrunix)\
**Post date:** [January 1, 2020, 6:57pm UTC](https://forum.elixirforum.com/t/what-points-you-suggest-to-decrease-duration-time-of-gitlab-ci/27930/1 "2020-01-01T18:57:03Z")

</div>

Hi Folks,  
I’m using Gitlab Ci for a Phoenix project but there’re some commands before running `mix test` command, at the moment every job takes about 4 minutes to get dependencies, compile the application and run test cases.

Is there any specific point to reduce this time?

---

<div class="post-metadata">

**Author:** ![mkasztelnik](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mkasztelnik/32/2025_2.png) [@mkasztelnik](https://forum.elixirforum.com/u/mkasztelnik)\
**Post date:** [January 1, 2020, 7:10pm UTC](https://forum.elixirforum.com/t/what-points-you-suggest-to-decrease-duration-time-of-gitlab-ci/27930/2 "2020-01-01T19:10:04Z")

</div>

You can try to cache your project dependencies [Caching in GitLab CI/CD | GitLab Docs](https://docs.gitlab.com/ee/ci/caching/)

---

<div class="post-metadata">

**Author:** ![mcrunix](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/mcrunix/32/27065_2.png) [@mcrunix](https://forum.elixirforum.com/u/mcrunix)\
**Post date:** [January 1, 2020, 7:34pm UTC](https://forum.elixirforum.com/t/what-points-you-suggest-to-decrease-duration-time-of-gitlab-ci/27930/3 "2020-01-01T19:34:18Z")

</div>

Thanks @mkasztelnik, It decreased about 2 minutes.
