forked from openequella/openEQUELLA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildspec.yml
31 lines (30 loc) · 980 Bytes
/
buildspec.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
version: 0.2
env:
variables:
KALTURA_BRANCH: master
AUTOTEST_CONFIG: "autotest/codebuild.conf"
EQ_EXIFTOOL_PATH: "/usr/bin/exiftool"
phases:
pre_build:
commands:
- env | sort | grep -vi -e key -e secret -e password
- setupBuild
- npm config set unsafe-perm true
- npm install -g npm@5.6.0
install:
commands:
- service postgresql start
build:
commands:
- (cd Source/Plugins/Core/com.equella.core/js && npm install && npm test)
- sbt -no-colors -Dconfig.file=${HOME}/build.conf test installerZip writeLanguagePack writeScriptingJavadoc
- sbt -mem 2048 -no-colors "project autotest" installEquella startEquella configureInstall setupForTests Tests/test Tests/Serial/test OldTests/test coverageReport
- (cd import-export-tool && ./gradlew build); cd -
post_build:
commands:
- publishBuildResults
cache:
paths:
- "/root/.ivy2/**/*"
- "/root/.npm/**/*"
- "/root/.sbt/**/*"