Skip to content

Commit

Permalink
This commit contains the collective work of the following enthusiasti…
Browse files Browse the repository at this point in the history
…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
trustin committed Sep 7, 2017
0 parents commit 0ad5889
Show file tree
Hide file tree
Showing 502 changed files with 54,214 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .gitattributes
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

69 changes: 69 additions & 0 deletions .gitignore
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

44 changes: 44 additions & 0 deletions .travis.yml
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)
33 changes: 33 additions & 0 deletions .travis/install-jdk.sh
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

Loading

0 comments on commit 0ad5889

Please sign in to comment.