-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcircle.yml
32 lines (27 loc) · 903 Bytes
/
circle.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
32
# Copyright (c) 2016-present Arctic Ice Studio <development@arcticicestudio.com>
# Copyright (c) 2016-present Sven Greb <code@svengreb.de>
# Project: IceCore Hashids
# Repository: https://github.com/arcticicestudio/icecore-hashids
# License: MIT
# References:
# https://circleci.com/docs/2.0
# https://circleci.com/docs/2.0/circleci-images/#nodejs
machine:
java:
version: oraclejdk8
general:
artifacts:
- ./target/*.jar
- ./target/docs
dependencies:
pre:
- mvn --version
test:
post:
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
override:
- mvn -B clean verify -P node,code-coverage
- find . -type f -regextype posix-egrep -regex ".*/target/(.*asc|.*jar|.*md5|.*pom|.*sha1)" -exec cp {} $CIRCLE_ARTIFACTS \;
- npm install
- npm run docs:build