2017-07-03 11:07:10 +00:00
|
|
|
image: registry.gitlab.com/fdroid/ci-images-server:latest
|
2016-02-29 14:57:49 +00:00
|
|
|
|
2015-07-29 23:13:49 +00:00
|
|
|
before_script:
|
2016-02-26 16:37:50 +00:00
|
|
|
- rm -rf fdroidserver
|
2016-04-29 18:17:23 +00:00
|
|
|
- git clone --depth=1 https://gitlab.com/fdroid/fdroidserver.git
|
2015-09-02 04:23:28 +00:00
|
|
|
- export PATH="$PWD/fdroidserver:$PATH"
|
2015-07-30 19:36:17 +00:00
|
|
|
- touch config.py
|
2015-07-29 23:13:49 +00:00
|
|
|
|
2015-09-12 01:16:14 +00:00
|
|
|
lint:
|
2015-07-29 23:41:37 +00:00
|
|
|
script:
|
2017-01-26 13:28:00 +00:00
|
|
|
- export EXITVALUE=0
|
|
|
|
- fdroid lint -f || {
|
|
|
|
export EXITVALUE=1;
|
|
|
|
printf "\nThese files have lint issues:\n";
|
|
|
|
fdroid rewritemeta -l;
|
|
|
|
printf "\nThese are the formatting issues:\n";
|
|
|
|
fdroid rewritemeta;
|
|
|
|
git --no-pager diff --color=always;
|
|
|
|
}
|
|
|
|
- exit $EXITVALUE
|