blob: 4d2f346865716c837edc4f072f142dd7dbe5434c [file] [log] [blame] [raw]
machine:
java:
version: oraclejdk8
checkout:
post:
# clone the Glowkit submodule (see https://circleci.com/docs/configuration)
- git submodule sync
- git submodule update --init
test:
post:
- cp -r target/glowstone*.jar $CIRCLE_ARTIFACTS/
- mkdir -p $CIRCLE_TEST_REPORTS/junit/
- find . -type f -regex ".*/target/surefire-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;
# deploy to test server
#deployment:
# devel:
# branch: master
# commands:
# - scp -P 2299 $CIRCLE_ARTIFACTS/glowstone++-1.8.7-SNAPSHOT.jar ?:g++/glowstone++.jar
# - ssh ? -p ? 'g++/start.sh'