-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
481 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
language: java | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
sudo: required | ||
|
||
cache: | ||
directories: | ||
- $HOME/.m2 | ||
- $HOME/downloads | ||
|
||
branches: | ||
only: | ||
- master | ||
- /^release-.*$/ | ||
- /^test-.*$/ | ||
|
||
install: mvn compile -Dmaven.javadoc.skip=true | grep -v "Downloading\|Downloaded" | ||
|
||
before_script: | ||
- $TRAVIS_DIR/install-hugegraph.sh $TRAVIS_BRANCH | grep -v "Downloading\|Downloaded" | ||
|
||
script: | ||
- mvn test -Punit | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) | ||
|
||
env: | ||
global: | ||
- TRAVIS_DIR=hubble-be/assembly/travis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<assembly> | ||
<id>distribution</id> | ||
<includeBaseDirectory>false</includeBaseDirectory> | ||
|
||
<formats> | ||
<format>dir</format> | ||
</formats> | ||
|
||
<fileSets> | ||
<fileSet> | ||
<directory>${assembly.static.dir}/bin</directory> | ||
<outputDirectory>bin</outputDirectory> | ||
<includes> | ||
<include>*</include> | ||
</includes> | ||
<fileMode>755</fileMode> | ||
</fileSet> | ||
<fileSet> | ||
<directory>${assembly.static.dir}</directory> | ||
<outputDirectory>/</outputDirectory> | ||
<filtered>false</filtered> | ||
</fileSet> | ||
<fileSet> | ||
<directory>${project.basedir}</directory> | ||
<outputDirectory>/</outputDirectory> | ||
<includes> | ||
<include>README*</include> | ||
<include>LICENSE*</include> | ||
<include>NOTICE*</include> | ||
</includes> | ||
</fileSet> | ||
<fileSet> | ||
<directory>${project.build.directory}</directory> | ||
<outputDirectory>lib</outputDirectory> | ||
<includes> | ||
<include>*.jar</include> | ||
</includes> | ||
</fileSet> | ||
</fileSets> | ||
|
||
<dependencySets> | ||
<!-- Code jars --> | ||
<dependencySet> | ||
<outputDirectory>/lib</outputDirectory> | ||
<unpack>false</unpack> | ||
<scope>runtime</scope> | ||
<useProjectArtifact>false</useProjectArtifact> | ||
<includes> | ||
<include>*:*:jar:*</include> | ||
</includes> | ||
</dependencySet> | ||
</dependencySets> | ||
|
||
</assembly> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/bash | ||
|
||
set -ev | ||
|
||
if [[ $# -ne 1 ]]; then | ||
echo "Must pass base branch name of pull request" | ||
exit 1 | ||
fi | ||
|
||
HUBBLE_BRANCH=$1 | ||
HUGEGRAPH_BRANCH=${HUBBLE_BRANCH} | ||
|
||
HUGEGRAPH_GIT_URL="https://github.com/hugegraph/hugegraph.git" | ||
|
||
git clone ${HUGEGRAPH_GIT_URL} || exit 1 | ||
|
||
cd hugegraph | ||
|
||
git checkout ${HUGEGRAPH_BRANCH} || exit 1 | ||
|
||
mvn package -DskipTests || exit 1 | ||
|
||
mv hugegraph-*.tar.gz ../ | ||
|
||
cd ../ | ||
|
||
rm -rf hugegraph | ||
|
||
tar -zxvf hugegraph-*.tar.gz | ||
|
||
cd hugegraph-* | ||
|
||
bin/init-store.sh || exit 1 | ||
|
||
bin/start-hugegraph.sh || exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,4 +56,4 @@ public Response beforeBodyWrite(Object body, MethodParameter returnType, | |
.data(body) | ||
.build(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
60 changes: 0 additions & 60 deletions
60
hubble-be/src/main/java/com/baidu/hugegraph/config/LocaleConfig.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.