bitbucket-pipelines.yml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Sat, 16 Sep 2017 21:04:34 +0300
changeset 1815 f0600fe03a89
parent 1810 70768bd1dab3
child 1820 76f5eba31afd
permissions -rw-r--r--
add application name for PLCOpenEditor

This is needed to work user configuration load/store, if PLCOpenEditor
is launched from test environment.
image: skvorl/beremiz-requirements

pipelines:
  custom: # Pipelines that are triggered manually
    checks: # The name that is displayed in the list in the Bitbucket Cloud GUI
        - step:
            script: # Modify the commands below to build your repository.
              - /usr/bin/python --version
              - ./tests/tools/check_source.sh
              - Xvfb :42 -screen 0 1280x1024x24 &
              - DISPLAY=:42 pytest --timeout=10 ./tests/tools
              - pkill -9 Xvfb

  default:
    - step:
        script: # Modify the commands below to build your repository.
          - /usr/bin/python --version
          - ./tests/tools/check_source.sh
          - Xvfb :42 -screen 0 1280x1024x24 &
          - DISPLAY=:42 pytest --timeout=10 ./tests/tools
          - pkill -9 Xvfb