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
|
- web/node_modules
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- Compile
|
- name: Compile
|
||||||
- Test
|
- name: Test
|
||||||
- "Release / Deploy"
|
- 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:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -31,6 +32,7 @@ env:
|
||||||
- DB=DB2_11_1
|
- DB=DB2_11_1
|
||||||
- DB=POSTGRES_10_4
|
- DB=POSTGRES_10_4
|
||||||
- DB=HISTORY
|
- DB=HISTORY
|
||||||
|
- DB=WEB
|
||||||
|
|
||||||
stage: Test
|
stage: Test
|
||||||
install: skip
|
install: skip
|
||||||
|
@ -100,5 +102,4 @@ matrix:
|
||||||
organization: "NovaTec Consulting GmbH"
|
organization: "NovaTec Consulting GmbH"
|
||||||
space: Taskana
|
space: Taskana
|
||||||
on:
|
on:
|
||||||
all_branches: true
|
all_branches: true
|
||||||
if: repo = env(DEPLOY_REPO) AND (tag =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ OR branch = master) AND type != pull_request
|
|
|
@ -33,7 +33,6 @@ function main() {
|
||||||
eval "$REL/prepare_db.sh '$1'"
|
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
|
# 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/.. && 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)
|
DB2_10_5 | DB2_11_1)
|
||||||
set -x
|
set -x
|
||||||
|
@ -59,6 +58,10 @@ function main() {
|
||||||
### TEST ###
|
### TEST ###
|
||||||
mvn -q verify -B -f $REL/../history -Dmaven.javadoc.skip -Dcheckstyle.skip
|
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
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue