bitbucket-pipelines.yml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Thu, 05 Oct 2017 16:38:49 +0300
changeset 1847 6198190bc121
parent 1820 76f5eba31afd
child 1880 e5ddbaf756cb
permissions -rw-r--r--
explicitly mark unused variables found by pylint with _ or dummy

pylint don't ignores unused variables with '_' in the name, even when
they are started with '_'. This bug is already fixed upstream, to fix
this in all versions of pylint custom dummy-variables-rgx is used
'_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy'
1796
4f7a0c40a7c3 add couple Beremiz application tests
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1787
diff changeset
     1
image: skvorl/beremiz-requirements
1787
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     2
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     3
pipelines:
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     4
  custom: # Pipelines that are triggered manually
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     5
    checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     6
        - step:
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     7
            script: # Modify the commands below to build your repository.
1810
70768bd1dab3 use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1796
diff changeset
     8
              - /usr/bin/python --version
1787
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     9
              - ./tests/tools/check_source.sh
1820
76f5eba31afd add shell script to run all python tests and automatically handle Xvfb
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1810
diff changeset
    10
              - ./tests/tools/run_python_tests.sh
76f5eba31afd add shell script to run all python tests and automatically handle Xvfb
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1810
diff changeset
    11
1787
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    12
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    13
  default:
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    14
    - step:
32115bf79d87 add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
    15
        script: # Modify the commands below to build your repository.
1810
70768bd1dab3 use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1796
diff changeset
    16
          - /usr/bin/python --version
1820
76f5eba31afd add shell script to run all python tests and automatically handle Xvfb
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1810
diff changeset
    17
          - ./tests/tools/check_source.sh 
76f5eba31afd add shell script to run all python tests and automatically handle Xvfb
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1810
diff changeset
    18
          - ./tests/tools/run_python_tests.sh         
1810
70768bd1dab3 use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents: 1796
diff changeset
    19