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-- |
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 |
1810
70768bd1dab3
use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1796
diff
changeset
|
10 |
- Xvfb :42 -screen 0 1280x1024x24 & |
70768bd1dab3
use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1796
diff
changeset
|
11 |
- DISPLAY=:42 pytest --timeout=10 ./tests/tools |
70768bd1dab3
use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1796
diff
changeset
|
12 |
- pkill -9 Xvfb |
1787
32115bf79d87
add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
13 |
|
32115bf79d87
add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
14 |
default: |
32115bf79d87
add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
15 |
- step: |
32115bf79d87
add configuration for Bitbucket pipelines
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff
changeset
|
16 |
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
|
17 |
- /usr/bin/python --version |
1796
4f7a0c40a7c3
add couple Beremiz application tests
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1787
diff
changeset
|
18 |
- ./tests/tools/check_source.sh |
1810
70768bd1dab3
use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1796
diff
changeset
|
19 |
- Xvfb :42 -screen 0 1280x1024x24 & |
70768bd1dab3
use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1796
diff
changeset
|
20 |
- DISPLAY=:42 pytest --timeout=10 ./tests/tools |
70768bd1dab3
use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1796
diff
changeset
|
21 |
- pkill -9 Xvfb |
70768bd1dab3
use pytest for testing
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
1796
diff
changeset
|
22 |