summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--pom.xml11
2 files changed, 1 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3e31b1f..05ed193 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,7 +14,7 @@ test:
script:
- mvn $MAVEN_CLI_OPTS clean test
only:
- - develop
+ - merge_requests
- tags
# 构建。一般用于构建 develop 分支上的 snapshot 版本。
diff --git a/pom.xml b/pom.xml
index 4dce002..ebed24f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -383,17 +383,6 @@
<redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
</plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-project-info-reports-plugin</artifactId>
- <version>3.6.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-site-plugin</artifactId>
- <version>3.12.1</version>
- </plugin>
</plugins>
</build>
</project> \ No newline at end of file