TSK-925: extracted web as seperate job.
This commit is contained in:
parent
16aa628602
commit
bcfb1ecefa
11
.travis.yml
11
.travis.yml
|
@ -18,9 +18,10 @@ cache:
|
|||
- web/node_modules
|
||||
|
||||
stages:
|
||||
- Compile
|
||||
- Test
|
||||
- "Release / Deploy"
|
||||
- name: Compile
|
||||
- name: Test
|
||||
- name: "Release / Deploy"
|
||||
if: repo = env(DEPLOY_REPO) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request
|
||||
|
||||
env:
|
||||
global:
|
||||
|
@ -31,6 +32,7 @@ env:
|
|||
- DB=DB2_11_1
|
||||
- DB=POSTGRES_10_4
|
||||
- DB=HISTORY
|
||||
- DB=WEB
|
||||
|
||||
stage: Test
|
||||
install: skip
|
||||
|
@ -100,5 +102,4 @@ matrix:
|
|||
organization: "NovaTec Consulting GmbH"
|
||||
space: Taskana
|
||||
on:
|
||||
all_branches: true
|
||||
if: repo = env(DEPLOY_REPO) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request
|
||||
all_branches: true
|
|
@ -33,7 +33,6 @@ function main() {
|
|||
eval "$REL/prepare_db.sh '$1'"
|
||||
# We can not use the fance '-f' maven option due to a bug in arquillian. See https://issues.jboss.org/browse/THORN-2049
|
||||
(cd $REL/.. && mvn -q install -B -T 4C -am -Dmaven.javadoc.skip -Dcheckstyle.skip)
|
||||
(cd $REL/../web && npm install --silent && npm run test)
|
||||
;;
|
||||
DB2_10_5 | DB2_11_1)
|
||||
set -x
|
||||
|
@ -59,6 +58,10 @@ function main() {
|
|||
### TEST ###
|
||||
mvn -q verify -B -f $REL/../history -Dmaven.javadoc.skip -Dcheckstyle.skip
|
||||
;;
|
||||
WEB)
|
||||
set -x
|
||||
(cd $REL/../web && npm install --silent && npm run test)
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue