-
Notifications
You must be signed in to change notification settings - Fork 2
/
buildspec.yml
22 lines (22 loc) · 1.04 KB
/
buildspec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
version: 0.2
phases:
install:
runtime-versions:
java: openjdk8
python: 3.7
commands:
- pip install pre-commit cloudformation-cli-java-plugin
- pip install --upgrade 'PyYAML>=5.1,<6.0'
- pip install --upgrade 'six==1.15.0'
build:
commands:
- pre-commit run --all-files
- cd "$CODEBUILD_SRC_DIR/common"
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean verify install --no-transfer-progress
- cd "$CODEBUILD_SRC_DIR/aws-amplifyuibuilder-component"
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean verify --no-transfer-progress
- cd "$CODEBUILD_SRC_DIR/aws-amplifyuibuilder-theme"
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean verify --no-transfer-progress
finally:
- cat "$CODEBUILD_SRC_DIR/aws-amplifyuibuilder-component/rpdk.log"
- cat "$CODEBUILD_SRC_DIR/aws-amplifyuibuilder-theme/rpdk.log"