File tree Expand file tree Collapse file tree 3 files changed +20
-10
lines changed Expand file tree Collapse file tree 3 files changed +20
-10
lines changed File renamed without changes.
Original file line number Diff line number Diff line change 5858 <groupId >org.apache.maven.plugins</groupId >
5959 <artifactId >maven-checkstyle-plugin</artifactId >
6060 <configuration >
61- <configLocation >checkstyle-dsql .xml</configLocation >
61+ <configLocation >checkstyle-override .xml</configLocation >
6262 </configuration >
6363 </plugin >
6464 </plugins >
9696 <version >${junit.jupiter.version} </version >
9797 <scope >test</scope >
9898 </dependency >
99- <!-- added to support running JUnit5 tests with JUnit4. Remove when eclipse/infinitest catch up. -->
10099 <dependency >
101- <groupId >org.junit.vintage </groupId >
102- <artifactId >junit-vintage -engine</artifactId >
103- <version >4.12.2 </version >
100+ <groupId >org.junit.jupiter </groupId >
101+ <artifactId >junit-jupiter -engine</artifactId >
102+ <version >${junit.jupiter.version} </version >
104103 <scope >test</scope >
105104 </dependency >
106105 <dependency >
115114 <version >${junit.jupiter.version} </version >
116115 <scope >test</scope >
117116 </dependency >
117+ <!-- added to support running JUnit5 tests with JUnit4. Remove when Infinitest catches up. -->
118+ <!-- Note: DO NOT make this the org.junit.vintage support. All the tests are written with JUnit5.
119+ Once Infinitest is ready we can remove this dependency and the corresponding @RunWith annotations
120+ -->
121+ <dependency >
122+ <groupId >junit</groupId >
123+ <artifactId >junit</artifactId >
124+ <version >4.12</version >
125+ <scope >test</scope >
126+ </dependency >
118127
119128 <dependency >
120129 <groupId >org.assertj</groupId >
Original file line number Diff line number Diff line change @@ -32,19 +32,20 @@ echo "Current commit detected: ${commit_message}"
3232# a. Use -q option to only display Maven errors and warnings.
3333# b. Use --settings to force the usage of our "settings.xml" file.
3434
35- if [ $TRAVIS_JDK_VERSION == " oraclejdk8" ]; then
35+ if [ $TRAVIS_JDK_VERSION == " oraclejdk8" ] && [ $TRAVIS_REPO_SLUG == " mybatis/mybatis-dynamic-sql " ] ; then
3636
37- ./mvnw clean test jacoco:report coveralls:report
37+ ./mvnw clean test jacoco:report coveralls:report -q
38+ echo -e " Successfully ran coveralls under Travis job ${TRAVIS_JOB_NUMBER} "
3839
39- if [ $TRAVIS_REPO_SLUG == " mybatis/mybatis-dynamic-sql " ] && [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ] && [[ " $commit_message " != * " [maven-release-plugin]" * ]]; then
40+ if [ " $TRAVIS_PULL_REQUEST " == " false" ] && [ " $TRAVIS_BRANCH " == " master" ] && [[ " $commit_message " != * " [maven-release-plugin]" * ]]; then
4041 # Deploy to Sonatype
4142 ./mvnw clean deploy -q --settings ./travis/settings.xml
4243 echo -e " Successfully deployed SNAPSHOT artifacts to Sonatype under Travis job ${TRAVIS_JOB_NUMBER} "
4344 else
44- echo " Java Version does not support additional activity for travis CI "
45+ echo " Not a master branch commit so no deployment of the new snapshot needed "
4546 fi
4647else
4748 echo " Travis Pull Request: $TRAVIS_PULL_REQUEST "
4849 echo " Travis Branch: $TRAVIS_BRANCH "
4950 echo " Travis build skipped"
50- fi
51+ fi
You can’t perform that action at this time.
0 commit comments