]> granicus.if.org Git - pgbadger/commitdiff
Add CircleCI job
authorÉtienne BERSAC <etienne.bersac@dalibo.com>
Wed, 6 Sep 2017 14:49:10 +0000 (16:49 +0200)
committerÉtienne BERSAC <etienne.bersac@dalibo.com>
Wed, 6 Sep 2017 14:53:19 +0000 (16:53 +0200)
.circleci/config.yml [new file with mode: 0644]
pgbadger [changed mode: 0644->0755]

diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644 (file)
index 0000000..0449f3c
--- /dev/null
@@ -0,0 +1,22 @@
+version: 2
+
+jobs:
+  test:
+    docker: [{image: "perl:5.26"}]
+    working_directory: /tmp/pgbadger
+    steps:
+    - run:
+        name: Install git and ssh for checkout
+        command: apt update -y && apt install -y git ssh
+    - checkout
+    - run:
+        name: Testing perl syntax
+        command: |
+          perl -c pgbadger
+          ./pgbadger --help
+
+workflows:
+  version: 2
+  pipeline:
+    jobs:
+    - test
old mode 100644 (file)
new mode 100755 (executable)