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 58
58
<groupId >org.apache.maven.plugins</groupId >
59
59
<artifactId >maven-checkstyle-plugin</artifactId >
60
60
<configuration >
61
- <configLocation >checkstyle-dsql .xml</configLocation >
61
+ <configLocation >checkstyle-override .xml</configLocation >
62
62
</configuration >
63
63
</plugin >
64
64
</plugins >
96
96
<version >${junit.jupiter.version} </version >
97
97
<scope >test</scope >
98
98
</dependency >
99
- <!-- added to support running JUnit5 tests with JUnit4. Remove when eclipse/infinitest catch up. -->
100
99
<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 >
104
103
<scope >test</scope >
105
104
</dependency >
106
105
<dependency >
115
114
<version >${junit.jupiter.version} </version >
116
115
<scope >test</scope >
117
116
</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 >
118
127
119
128
<dependency >
120
129
<groupId >org.assertj</groupId >
Original file line number Diff line number Diff line change @@ -32,19 +32,20 @@ echo "Current commit detected: ${commit_message}"
32
32
# a. Use -q option to only display Maven errors and warnings.
33
33
# b. Use --settings to force the usage of our "settings.xml" file.
34
34
35
- if [ $TRAVIS_JDK_VERSION == " oraclejdk8" ]; then
35
+ if [ $TRAVIS_JDK_VERSION == " oraclejdk8" ] && [ $TRAVIS_REPO_SLUG == " mybatis/mybatis-dynamic-sql " ] ; then
36
36
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} "
38
39
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
40
41
# Deploy to Sonatype
41
42
./mvnw clean deploy -q --settings ./travis/settings.xml
42
43
echo -e " Successfully deployed SNAPSHOT artifacts to Sonatype under Travis job ${TRAVIS_JOB_NUMBER} "
43
44
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 "
45
46
fi
46
47
else
47
48
echo " Travis Pull Request: $TRAVIS_PULL_REQUEST "
48
49
echo " Travis Branch: $TRAVIS_BRANCH "
49
50
echo " Travis build skipped"
50
- fi
51
+ fi
You can’t perform that action at this time.
0 commit comments