forked from ungoogled-software/ungoogled-chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
37 lines (33 loc) · 1.48 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
container:
dockerfile: .cirrus_Dockerfile
code_check_task:
pip_cache:
folder: ~/.cache/pip
fingerprint_script: cat .cirrus_requirements.txt
populate_script: pip install -r .cirrus_requirements.txt
pip_install_script:
# Needed in order for yapf to be fully installed
- pip install -r .cirrus_requirements.txt
utils_script:
- python3 -m yapf --style '.style.yapf' -e '*/third_party/*' -rpd utils
- ./devutils/run_utils_pylint.py --hide-fixme
devutils_script:
- python3 -m yapf --style '.style.yapf' -e '*/third_party/*' -rpd devutils
- ./devutils/run_devutils_pylint.py --hide-fixme
validate_config_task:
validate_config_script: ./devutils/validate_config.py
validate_with_source_task:
chromium_download_cache:
folder: chromium_download_cache
fingerprint_script: cat chromium_version.txt
populate_script:
- mkdir chromium_download_cache
- ./utils/downloads.py retrieve -i downloads.ini -c chromium_download_cache
unpack_source_script:
- ./utils/downloads.py unpack -i downloads.ini -c chromium_download_cache chromium_src
validate_patches_script:
- ./devutils/validate_patches.py -l chromium_src
validate_lists_script:
# NOTE: This check is prone to false positives, but not false negatives.
- ./devutils/check_files_exist.py chromium_src pruning.list domain_substitution.list
# vim: set expandtab shiftwidth=4 softtabstop=4: