datasurvey/.circleci/config.yml

27 lines
511 B
YAML
Raw Normal View History

2021-07-03 21:48:27 +00:00
version: 2.1
jobs:
build-and-test:
environment:
_JAVA_OPTIONS: '-Dspring.profiles.active=prod'
docker:
- image: cimg/openjdk:11.0
steps:
- checkout
- run:
name: Build
command: mvn -B -DskipTests clean package -P prod
2021-07-05 00:43:29 +00:00
- run:
name: Test
command: mvn test -P prod
2021-07-03 21:48:27 +00:00
workflows:
datasurvey:
jobs:
2021-07-05 00:48:42 +00:00
- build-and-test:
2021-07-05 01:11:15 +00:00
filters:
branches:
only:
- main
- qa