From f534d3c34fd9e16f53413dc19d0a35538f797671 Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone Date: Thu, 24 Jan 2019 09:02:27 -0500 Subject: [PATCH] Attempt to configure CircleCI for integration tests --- .circleci/config.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5404d7ee7..8ffe14a25 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -29,6 +29,7 @@ workflows: - "lint" - "deprecations" - "c-locale" + - "integration" jobs: lint: @@ -198,6 +199,34 @@ jobs: TAHOE_LAFS_WARNINGS_LOG: "/tmp/artifacts/deprecation-warnings.log" + integration: + <<: *DEBIAN + + environment: + <<: *UTF_8_ENVIRONMENT + # Select the integration tests tox environments. + TAHOE_LAFS_TOX_ENVIRONMENT: "integration" + + steps: + # DRY, YAML-style. See the debian-9 steps. + - run: *INSTALL_GIT + - "checkout" + - run: *BOOTSTRAP_TEST_ENVIRONMENT + - restore_cache: *RESTORE_HTTP_CACHE + - restore_cache: *RESTORE_WHEELHOUSE + - run: *SETUP_VIRTUALENV + - run: + name: "Install Tor" + command: | + integration/install-tor.sh + - save_cache: *SAVE_HTTP_CACHE + - save_cache: *SAVE_WHEELHOUSE + - run: *RUN_TESTS + - store_test_results: *STORE_TEST_LOG + - store_artifacts: *STORE_OTHER_ARTIFACTS + - run: *SUBMIT_COVERAGE + + ubuntu-16.04: <<: *DEBIAN docker: