<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # Test a Clojure application with GitLab CI/CD > 原文:[https://docs.gitlab.com/ee/ci/examples/test-clojure-application.html](https://docs.gitlab.com/ee/ci/examples/test-clojure-application.html) * [Configure the project](#configure-the-project) **注意:**本文檔最近未更新,可能已過期. 有關最新文檔,請參見[GitLab CI / CD](../README.html)頁面和《 [GitLab CI / CD 管道配置參考》](../yaml/README.html) . # Test a Clojure application with GitLab CI/CD[](#test-a-clojure-application-with-gitlab-cicd "Permalink") 本示例將指導您如何在 Clojure 應用程序上運行測試. 您可以查看或派生[示例源,](https://gitlab.com/dzaporozhets/clojure-web-application)并查看其過去的[CI 作業](https://gitlab.com/dzaporozhets/clojure-web-application/builds?scope=finished)的日志. ## Configure the project[](#configure-the-project "Permalink") 這是此項目的`.gitlab-ci.yml`文件的外觀: ``` variables: POSTGRES_DB: sample-test DATABASE_URL: "postgresql://postgres@postgres:5432/sample-test" before_script: - apt-get update -y - apt-get install default-jre postgresql-client -y - wget https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein - chmod a+x lein - export LEIN_ROOT=1 - PATH=$PATH:. - lein deps - lein migratus migrate test: script: - lein test ``` 在`before_script` ,我們安裝了 JRE 和[Leiningen](https://leiningen.org/) . 該示例項目使用[migratus](https://github.com/yogthos/migratus)庫管理數據庫遷移,并且在`before_script`的最后一步中添加了數據庫遷移. 您可以使用`gitlab.com`可用的公共`gitlab.com`程序來使用此配置測試您的應用程序.
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看