-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
image: debian:bookworm-slim | ||
|
||
stages: | ||
- test | ||
- deploy | ||
|
||
before_script: | ||
- apt-get update -yqq | ||
- apt-get install -yqq git make composer librsvg2-bin netpbm php-xdebug php-sqlite3 php-curl php-xml php-mbstring php-json php-zip php-intl | ||
|
||
test-job: | ||
stage: test | ||
script: | ||
- composer update | ||
- composer tests | ||
artifacts: | ||
reports: | ||
coverage_report: | ||
coverage_format: cobertura | ||
path: .coverage/cobertura.xml | ||
untracked: false | ||
when: on_success | ||
expire_in: 30 days | ||
|
||
deploy-job: | ||
stage: deploy | ||
only: | ||
- tags | ||
script: | ||
- composer update --no-dev | ||
- ./generate-icon.sh | ||
- make appstore | ||
artifacts: | ||
paths: | ||
- build/artifacts/appstore/calibre_opds.tar.gz | ||
untracked: false | ||
when: on_success | ||
expire_in: 30 days |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters