bitbucket-pipelines.yml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 15 Sep 2017 20:05:41 +0300
changeset 1812 8626a4948d5e
parent 1810 70768bd1dab3
child 1820 76f5eba31afd
permissions -rw-r--r--
use CustomIntCtrl instead of wx.SpinCtrl because it doesn't support
long integer needed for UDINT, (U)LINT types.

This commit complements commit 74a3f4d "fix LINT and ULINT ranges".
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