add configuration for Bitbucket pipelines
authorAndrey Skvortsov <andrej.skvortzov@gmail.com>
Tue, 22 Aug 2017 17:14:40 +0300
changeset 1787 32115bf79d87
parent 1786 b6d47158d68a
child 1788 a3fd80859ae3
add configuration for Bitbucket pipelines
bitbucket-pipelines.yml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bitbucket-pipelines.yml	Tue Aug 22 17:14:40 2017 +0300
@@ -0,0 +1,22 @@
+image: python:2.7
+
+pipelines:
+  custom: # Pipelines that are triggered manually
+    checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
+        - step:
+            caches:
+                - pip
+            script: # Modify the commands below to build your repository.
+              - pip install pycodestyle
+              - python --version
+              - ./tests/tools/check_source.sh
+
+
+  default:
+    - step:
+        caches:
+          - pip
+        script: # Modify the commands below to build your repository.
+          - pip install pycodestyle
+          - python --version
+          - ./tests/tools/check_source.sh
\ No newline at end of file