summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoah Silvera <noah.a.silvera@gmail.com>2021-03-31 10:30:12 -0700
committerNoah Silvera <noah@super.gd>2021-03-31 10:58:38 -0700
commit2f7eaf1303918e853c5d9678c6347160379b0261 (patch)
treef3596a17ab9a6e7924d4124d734ab7a929e5bd8b
parenta6a14adce724f7c32f078c26138ad9cfd4dc4c70 (diff)
Add .circleci/config.ymlcircleci-project-setup
We want to switch from travis CI to circle CI as we have run out of credits on travis, and circle CI has a robust orb for running tests for solidus extensions.
-rw-r--r--.circleci/config.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..ec33812
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,20 @@
+version: 2.1
+orbs:
+ # Always take the latest version of the orb, this allows us to
+ # run specs against Solidus supported versions only without the need
+ # to change this configuration every time a Solidus version is released
+ # or goes EOL.
+ solidusio_extensions: solidusio/extensions@volatile
+
+jobs:
+ run-specs-with-postgres:
+ executor: solidusio_extensions/postgres
+ steps:
+ - checkout
+ - solidusio_extensions/run-tests-solidus-older
+ - solidusio_extensions/store-test-results
+
+workflows:
+ "Run specs on supported Solidus versions":
+ jobs:
+ - run-specs-with-postgres