java-tutorials/jhipster/circle.yml

26 lines
486 B
YAML

machine:
services:
- docker
java:
version: oraclejdk8
node:
version: 6.10.0
dependencies:
cache_directories:
- node
- node_modules
- ~/.m2
override:
- java -version
- npm install -g npm
- node -v
- npm -v
- java -version
- npm install
test:
override:
- chmod +x mvnw
- ./mvnw clean test
- npm test
- ./mvnw package -Pprod -DskipTests