forked from line/centraldogma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit contains the collective work of the following enthusiasti…
…c contributors at LINE Corporation: - Ki-bin Shin @bindung - Jun Cao @caojun221 - Young-tae Seok @delegacy - Hyang-tack Lee @hyangtack - Ide Masahiro @imasahiro - Su-ahn Lee @inch772 - Julie Kim @julnamoo - Yuto Kawamura @kawamuray - Minwoo Song @minwoox - Trustin Lee @trustin
- Loading branch information
0 parents
commit 0ad5889
Showing
502 changed files
with
54,214 additions
and
0 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,6 @@ | ||
*.bat text eol=crlf | ||
*.br binary | ||
*.gz binary | ||
|
||
/gradlew text eol=lf | ||
|
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,69 @@ | ||
# Build output | ||
/build | ||
/*/build | ||
/*/*/build | ||
/out | ||
/*/out | ||
/*/*/out | ||
**/src/main/gen-java | ||
**/src/test/gen-java | ||
**/gen-src | ||
*.log | ||
/data | ||
/*/data | ||
|
||
# Package Files # | ||
*.jar | ||
!**/src/**/WEB-INF/lib/*.jar | ||
!/gradle/wrapper/gradle-wrapper.jar | ||
!/settings/intellij_idea/settings.jar | ||
*.war | ||
*.ear | ||
|
||
# Client vendor dependencies | ||
**/webapp/vendor | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
|
||
# Gradle | ||
.gradle | ||
|
||
# IntelliJ | ||
.idea | ||
*.iml | ||
*.iws | ||
*.ipr | ||
*.ids | ||
*.orig | ||
/classes | ||
/out | ||
|
||
# Eclipse | ||
*.pydevproject | ||
.project | ||
.metadata | ||
/bin | ||
/*/bin | ||
/tmp | ||
/*/tmp | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
.classpath | ||
.settings | ||
.loadpath | ||
|
||
# External tool builders | ||
.externalToolBuilders/** | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
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,44 @@ | ||
--- | ||
language: java | ||
sudo: false | ||
|
||
os: | ||
- linux | ||
|
||
branches: | ||
only: | ||
- master | ||
- '0.46' | ||
|
||
notifications: | ||
email: false | ||
#slack: central-dogma:vLZppggTRH02hwY2eOACIzCG | ||
|
||
cache: | ||
directories: | ||
- $HOME/.gradle/wrapper/dists | ||
- $HOME/.gradle/caches/jars-3 | ||
- $HOME/.gradle/caches/modules-2 | ||
- $HOME/.jdk | ||
|
||
env: | ||
global: | ||
- JAVA_HOME=$HOME/.jdk/default | ||
- PATH=$JAVA_HOME/bin:$PATH | ||
- GRADLE_OPTS=-Xmx1024m | ||
|
||
before_install: | ||
- .travis/install-jdk.sh | ||
- ./gradlew --version | ||
|
||
install: | ||
- true | ||
|
||
script: | ||
- ./gradlew --no-daemon --stacktrace -Pcoverage checkstyle test build | ||
|
||
before_cache: | ||
- find $HOME/.gradle/caches -name '*.lock' -delete | ||
|
||
after_success: | ||
- bash <(curl -s https://codecov.io/bash) |
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,33 @@ | ||
#!/bin/bash -e | ||
JDK_VERSION='jdk-8u141' | ||
JDK_DOWNLOAD_URL='http://download.oracle.com/otn-pub/java/jdk/8u141-b15/336fa29ff2bb4ef291e347e091f7f4a7/jdk-8u141-linux-x64.tar.gz' | ||
|
||
JDK_HOME="$HOME/.jdk/$JDK_VERSION" | ||
JDK_TARBALL="$HOME/.jdk/${JDK_VERSION}.tar.gz" | ||
|
||
function install_symlink() { | ||
local DEFAULT_JDK_HOME="$HOME/.jdk/default" | ||
if [[ "$(readlink "$DEFAULT_JDK_HOME")" != "$JDK_HOME" ]]; then | ||
rm -fr "$DEFAULT_JDK_HOME" | ||
ln -sv "$JDK_HOME" "$DEFAULT_JDK_HOME" | ||
fi | ||
"$DEFAULT_JDK_HOME/bin/java" -version | ||
} | ||
|
||
if [[ ! -x "$JDK_HOME/bin/java" ]]; then | ||
mkdir -p "$HOME/.jdk" | ||
wget --no-cookies --no-check-certificate \ | ||
--header='Cookie: oraclelicense=accept-securebackup-cookie' \ | ||
--output-document="$JDK_TARBALL" \ | ||
"$JDK_DOWNLOAD_URL" | ||
|
||
rm -vfr "$JDK_HOME" | ||
mkdir "$JDK_HOME" | ||
tar zxvf "$JDK_TARBALL" --strip 1 -C "$JDK_HOME" | ||
rm -vf "$JDK_TARBALL" | ||
# Remove the old versions | ||
rm -vfr "$HOME/.jdk"/jdk1.* | ||
fi | ||
|
||
install_symlink | ||
|
Oops, something went wrong.