forked from ungoogled-software/ungoogled-chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
40 lines (36 loc) · 1.61 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
container:
image: python:3.5-slim
code_check_task:
pip_cache:
folder: ~/.cache/pip
populate_script: pip install pylint requests yapf
pip_install_script: pip install pylint requests yapf
buildkit_script:
- python3 -m yapf --style '.style.yapf' -e '*/third_party/*' -rpd buildkit
- ./devutils/pylint_buildkit.py --hide-fixme
devutils_script:
- python3 -m yapf --style '.style.yapf' -rpd devutils
- ./devutils/pylint_devutils.py --hide-fixme devutils
get_package_script:
- python3 -m yapf --style '.style.yapf' -pd get_package.py
- ./devutils/pylint_devutils.py --hide-fixme get_package.py
run_buildkit_cli_script:
- python3 -m yapf --style '.style.yapf' -pd run_buildkit_cli.py
- ./devutils/pylint_devutils.py --hide-fixme run_buildkit_cli.py
windows_packaging_script:
- ln -s packaging/windows/build.py windows_build.py
- ln -s packaging/windows/package.py windows_package.py
- python3 -m yapf --style '.style.yapf' -pd windows_build.py windows_package.py
- ./devutils/pylint_devutils.py --hide-fixme windows_build.py
- ./devutils/pylint_devutils.py --hide-fixme windows_package.py
- rm windows_build.py windows_package.py
validate_config_task:
validate_config_script: ./devutils/validate_config.py
validate_patches_task:
pip_cache:
folder: ~/.cache/pip
populate_script: pip install requests
pip_install_script: pip install requests
validate_patches_script:
- ./devutils/validate_patches.py -r
# vim: set expandtab shiftwidth=4 softtabstop=4: