diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..b457ca1 --- /dev/null +++ b/circle.yml @@ -0,0 +1,16 @@ +machine: + java: + version: openjdk8 + notify: + branches: + only: + - master +dependencies: + override: + - git config --global user.email "circle@circleci.com" + - git config --global user.name "CircleCI" + - chmod +x scripts/build.sh + - ./scripts/build.sh +test: + post: + - yes|mv -f ./target/BugRepGUI-b.jar $CIRCLE_ARTIFACTS/BugRepGUI-b$CIRCLE_BUILD_NUM.jar \ No newline at end of file diff --git a/pom.xml b/pom.xml index 16f8632..5580419 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.ilummc.bugrepgui BugRepGUI - 1.8 + b . @@ -29,10 +29,20 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.5.1 + + + default-compile + compile + + compile + + + 1.8 1.8 + GBK diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100644 index 0000000..d6fedde --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,2 @@ +echo "Building BugRepGUI build $CIRCLE_BUILD_NUM ..." +mvn clean install \ No newline at end of file