Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
d8b0bb93
Commit
d8b0bb93
authored
Apr 22, 2017
by
Liang Ding
Committed by
Vanessa
Apr 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
💚
增加一个 ci profile,使用 mvn 中央仓库,默认的 dev profile 使用阿里云仓库
parent
90721a6f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
16 deletions
+43
-16
.travis.yml
.travis.yml
+1
-1
pom.xml
pom.xml
+27
-15
src/test/java/org/b3log/solo/processor/console/CategoryConsoleTestCase.java
...b3log/solo/processor/console/CategoryConsoleTestCase.java
+15
-0
No files found.
.travis.yml
View file @
d8b0bb93
language
:
java
after_success
:
-
mvn clean cobertura:cobertura coveralls:report
\ No newline at end of file
-
mvn clean cobertura:cobertura coveralls:report -Pci
\ No newline at end of file
pom.xml
View file @
d8b0bb93
<?xml version="1.0" encoding="UTF-8"?>
<!--
Description: Solo POM.
Version: 3.16.1.3
5, Apr 11
, 2017
Version: 3.16.1.3
6, Apr 22
, 2017
Author: <a href="http://88250.b3log.org">Liang Ding</a>
Author: <a href="http://www.annpeter.cn">Ann Peter</a>
Author: <a href="http://vanessa.b3log.org">Vanessa</a>
...
...
@@ -16,7 +16,7 @@
<name>
Solo
</name>
<version>
2.0.0
</version>
<description>
A blogging system written in Java, feel free to create your or your team own blog. 一个用 Java
实现的博客系统,为你或你的团队创建个博客吧。
A blogging system written in Java, feel free to create your or your team own blog. 一个用 Java实现的博客系统,为你或你的团队创建个博客吧。
</description>
<inceptionYear>
2010
</inceptionYear>
...
...
@@ -431,19 +431,31 @@
<finalName>
solo
</finalName>
</build>
<repositories>
<repository>
<id>
aliyun
</id>
<url>
http://maven.aliyun.com/nexus/content/groups/public
</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
aliyun
</id>
<url>
http://maven.aliyun.com/nexus/content/groups/public
</url>
</pluginRepository>
</pluginRepositories>
<profiles>
<profile>
<id>
ci
</id>
</profile>
<profile>
<id>
dev
</id>
<activation>
<activeByDefault>
true
</activeByDefault>
</activation>
<repositories>
<repository>
<id>
aliyun
</id>
<url>
http://maven.aliyun.com/nexus/content/groups/public
</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
aliyun
</id>
<url>
http://maven.aliyun.com/nexus/content/groups/public
</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</project>
src/test/java/org/b3log/solo/processor/console/CategoryConsoleTestCase.java
View file @
d8b0bb93
/*
* Copyright (c) 2010-2017, b3log.org & hacpai.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
org
.
b3log
.
solo
.
processor
.
console
;
import
org.apache.commons.lang.StringUtils
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment