|
|
@ -117,18 +117,19 @@ pipeline: |
|
|
|
when: |
|
|
|
when: |
|
|
|
event: [ tag ] |
|
|
|
event: [ tag ] |
|
|
|
|
|
|
|
|
|
|
|
# test-sqlite: |
|
|
|
test-sqlite: |
|
|
|
# image: golang:1.11 |
|
|
|
image: golang:1.11 |
|
|
|
# pull: true |
|
|
|
pull: true |
|
|
|
# group: test |
|
|
|
group: test |
|
|
|
# environment: |
|
|
|
environment: |
|
|
|
# TAGS: bindata |
|
|
|
TAGS: bindata |
|
|
|
# commands: |
|
|
|
commands: |
|
|
|
# - curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash |
|
|
|
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash |
|
|
|
# - apt-get install -y git-lfs |
|
|
|
- apt-get install -y git-lfs |
|
|
|
# - make test-sqlite |
|
|
|
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.sqlite.test)' | sh)) & |
|
|
|
# when: |
|
|
|
- make test-sqlite |
|
|
|
# event: [ push, tag, pull_request ] |
|
|
|
when: |
|
|
|
|
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
|
|
|
|
|
|
|
|
test-mysql: |
|
|
|
test-mysql: |
|
|
|
image: golang:1.11 |
|
|
|
image: golang:1.11 |
|
|
@ -155,6 +156,7 @@ pipeline: |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash |
|
|
|
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash |
|
|
|
- apt-get install -y git-lfs |
|
|
|
- apt-get install -y git-lfs |
|
|
|
|
|
|
|
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) & |
|
|
|
- make test-mysql |
|
|
|
- make test-mysql |
|
|
|
when: |
|
|
|
when: |
|
|
|
event: [ tag ] |
|
|
|
event: [ tag ] |
|
|
@ -169,6 +171,7 @@ pipeline: |
|
|
|
commands: |
|
|
|
commands: |
|
|
|
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash |
|
|
|
- curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | bash |
|
|
|
- apt-get install -y git-lfs |
|
|
|
- apt-get install -y git-lfs |
|
|
|
|
|
|
|
- (sleep 1200 && (echo 'kill -ABRT $(pidof gitea) $(pidof integrations.test)' | sh)) & |
|
|
|
- make test-pgsql |
|
|
|
- make test-pgsql |
|
|
|
when: |
|
|
|
when: |
|
|
|
event: [ push, tag, pull_request ] |
|
|
|
event: [ push, tag, pull_request ] |
|
|
|