bitbucket-pipelines.yml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 15 Sep 2017 20:01:21 +0300
changeset 1811 4e3c78a84c64
parent 1810 70768bd1dab3
child 1820 76f5eba31afd
permissions -rw-r--r--
add custom TextCtrl allowed to enter long integer with bounds checking

It's needed because wx.SpinCtrl supports only 'int' type. For UDINT
and (U)LINT long type is necessary.
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