Родитель
67b7fcf142
Коммит
8abebddeb4
|
@ -4,4 +4,5 @@
|
|||
.settings/
|
||||
.idea/
|
||||
target/
|
||||
*.iml
|
||||
*.iml
|
||||
scalastyle-output.xml
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
language: scala
|
||||
scala:
|
||||
- 2.11.8
|
||||
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
|
||||
script:
|
||||
- run_test.sh
|
23
pom.xml
23
pom.xml
|
@ -162,6 +162,29 @@
|
|||
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
|
||||
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
|
||||
<plugins>
|
||||
<plugin>
|
||||
<groupId>org.scalastyle</groupId>
|
||||
<artifactId>scalastyle-maven-plugin</artifactId>
|
||||
<version>0.8.0</version>
|
||||
<configuration>
|
||||
<verbose>false</verbose>
|
||||
<failOnViolation>true</failOnViolation>
|
||||
<includeTestSourceDirectory>true</includeTestSourceDirectory>
|
||||
<failOnWarning>false</failOnWarning>
|
||||
<sourceDirectory>${basedir}/src/main/scala</sourceDirectory>
|
||||
<testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory>
|
||||
<configLocation>${basedir}/scalastyle-config.xml</configLocation>
|
||||
<outputFile>${project.basedir}/scalastyle-output.xml</outputFile>
|
||||
<outputEncoding>UTF-8</outputEncoding>
|
||||
</configuration>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.scala-tools</groupId>
|
||||
<artifactId>maven-scala-plugin</artifactId>
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
set -e
|
||||
mvn scalastyle:test
|
||||
mvn package
|
||||
mvn test
|
Загрузка…
Ссылка в новой задаче