fdroiddata/.gitlab-ci.yml

21 lines
575 B
YAML
Raw Normal View History

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
- git clone --depth=1 https://gitlab.com/fdroid/fdroidserver.git
- 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:
- 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