-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Geoffroy Jamgotchian <[email protected]>
- Loading branch information
0 parents
commit e298d83
Showing
116 changed files
with
9,243 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,14 @@ | ||
# Maven projects | ||
target | ||
|
||
# IntelliJ | ||
/.idea | ||
*.iml | ||
|
||
# Eclipse projects | ||
.classpath | ||
.project | ||
org.eclipse.core.resources.prefs | ||
org.eclipse.jdt.core.prefs | ||
org.eclipse.m2e.core.prefs | ||
org.eclipse.jdt.groovy.core.prefs |
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,21 @@ | ||
language: java | ||
|
||
dist: trusty | ||
sudo: required | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
addons: | ||
sonarcloud: | ||
organization: "powsybl-ci-github" | ||
token: | ||
secure: ${SONAR_TOKEN} | ||
|
||
install: | ||
# Build powsybl-core | ||
- git clone https://github.com/powsybl/powsybl-core powsybl/powsybl-core | ||
- pushd powsybl/powsybl-core && mvn --batch-mode -DskipTests install && popd | ||
|
||
script: | ||
- mvn --batch-mode -Pjacoco,checks clean verify sonar:sonar |
Large diffs are not rendered by default.
Oops, something went wrong.
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,22 @@ | ||
version: '{build}' | ||
os: Windows Server 2012 | ||
install: | ||
- ps: | | ||
Add-Type -AssemblyName System.IO.Compression.FileSystem | ||
if (!(Test-Path -Path "C:\maven" )) { | ||
(new-object System.Net.WebClient).DownloadFile( | ||
'http://www.us.apache.org/dist/maven/maven-3/3.2.5/binaries/apache-maven-3.2.5-bin.zip', | ||
'C:\maven-bin.zip' | ||
) | ||
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\maven-bin.zip", "C:\maven") | ||
} | ||
- cmd: SET M2_HOME=C:\maven\apache-maven-3.2.5 | ||
- cmd: SET PATH=%M2_HOME%\bin;%JAVA_HOME%\bin;%PATH% | ||
before_build: | ||
- git clone https://github.com/powsybl/powsybl-core.git powsybl/powsybl-core | ||
- ps: | | ||
pushd powsybl/powsybl-core | ||
mvn -DskipTests install --batch-mode | ||
popd | ||
build_script: | ||
- mvn clean package --batch-mode |
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,73 @@ | ||
<?xml version="1.0"?> | ||
<!DOCTYPE module PUBLIC | ||
"-//Puppy Crawl//DTD Check Configuration 1.2//EN" | ||
"http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | ||
<module name="Checker"> | ||
|
||
<module name="FileTabCharacter"/> | ||
|
||
<module name="NewlineAtEndOfFile"> | ||
<property name="lineSeparator" value="lf_cr_crlf"/> | ||
</module> | ||
|
||
<module name="RegexpSingleline"> | ||
<property name="format" value="\s+$"/> | ||
<property name="minimum" value="0"/> | ||
<property name="maximum" value="0"/> | ||
<property name="message" value="Line has trailing spaces."/> | ||
</module> | ||
|
||
<module name="Translation"/> | ||
|
||
<module name="TreeWalker"> | ||
<module name="AbbreviationAsWordInName"/> | ||
<module name="AbstractClassName"/> | ||
<module name="ArrayTypeStyle"/> | ||
<module name="ConstantName"/> | ||
<module name="EmptyCatchBlock"> | ||
<property name="exceptionVariableName" value="ignored"/> | ||
</module> | ||
<module name="EmptyLineSeparator"> | ||
<property name="allowNoEmptyLineBetweenFields" value="true"/> | ||
<property name="allowMultipleEmptyLines" value="false"/> | ||
<property name="allowMultipleEmptyLinesInsideClassMembers" value="false"/> | ||
<property name="tokens" value="IMPORT, CLASS_DEF, INTERFACE_DEF, STATIC_INIT, INSTANCE_INIT, METHOD_DEF, CTOR_DEF, VARIABLE_DEF"/> | ||
</module> | ||
<module name="EmptyStatement"/> | ||
<module name="EqualsHashCode"/> | ||
<module name="FinalClass"/> | ||
<module name="HideUtilityClassConstructor"/> | ||
<module name="IllegalImport"/> | ||
<module name="Indentation"/> | ||
<module name="LeftCurly"/> | ||
<module name="LocalFinalVariableName"/> | ||
<module name="LocalVariableName"/> | ||
<module name="MemberName"/> | ||
<module name="MethodName"/> | ||
<module name="MethodParamPad"/> | ||
<module name="ModifierOrder"/> | ||
<module name="MultipleVariableDeclarations"/> | ||
<module name="MutableException"/> | ||
<module name="NeedBraces"/> | ||
<module name="NoWhitespaceAfter"/> | ||
<module name="NoWhitespaceBefore"/> | ||
<module name="OuterTypeFilename"/> | ||
<module name="ParameterAssignment"/> | ||
<module name="ParameterName"/> | ||
<module name="ParenPad"/> | ||
<module name="RedundantImport"/> | ||
<module name="RightCurly"/> | ||
<module name="SimplifyBooleanExpression"/> | ||
<module name="SimplifyBooleanReturn"/> | ||
<module name="StringLiteralEquality"/> | ||
<module name="TypecastParenPad"/> | ||
<module name="TypeName"/> | ||
<module name="UnnecessaryParentheses"/> | ||
<module name="UnusedImports"/> | ||
<module name="UpperEll"/> | ||
<module name="WhitespaceAfter"/> | ||
<module name="WhitespaceAround"> | ||
<property name="ignoreEnhancedForColon" value="false"/> | ||
</module> | ||
</module> | ||
</module> |
Oops, something went wrong.