forked from 4Science/DSpace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.drone.yml
37 lines (33 loc) · 1.21 KB
/
.drone.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
---
kind: pipeline
type: docker
name: unit-test-code-checks
steps:
- name: dspace-cris-ci
image: maven:3.6.3-jdk-11
environment:
MAVEN_OPTS: -Xmx1024M -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
commands:
- mvn install -B -V -P-assembly -Pcoverage-report -Dtest.argLine=-Xmx2048m -DskipUnitTests=false -Pdspace-rest
---
kind: pipeline
type: docker
name: integration-test
steps:
- name: dspace-cris-ci
image: maven:3.6.3-jdk-11
environment:
MAVEN_OPTS: -Xmx1024M -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
submission__P__lookup__P__ads__P__apikey:
from_secret: ADS_APIKEY
submission__P__lookup__P__epo__P__consumerKey:
from_secret: EPO_APIKEY
submission__P__lookup__P__epo__P__consumerSecretKey:
from_secret: EPO_APISECRET
orcid__P__clientid:
from_secret: ORCID_APIKEY
orcid__P__clientsecret:
from_secret: ORCID_APISECRET
commands:
- ./dspace-api/src/test/data/dspaceFolder/bin/install_grobid.sh
- mvn install -B -V -P-assembly -Pcoverage-report -DskipIntegrationTests=false -Denforcer.skip=true -Dcheckstyle.skip=true -Dlicense.skip=true -Dxml.skip=true