Skip to content

Commit 72ac06b

Browse files
MasseGuillaumesmarter
authored andcommitted
Enable binary compat test in ci
1 parent 57f0ab0 commit 72ac06b

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ matrix:
5454
scala: 2.12.6
5555
env: TEST_SCALAFIX=true
5656

57+
# run binary compatibility test
58+
- jdk: oraclejdk8
59+
scala: 2.12.6
60+
env: TEST_BINARY_COMPAT=true
61+
5762
# | jdk | scala | scala target | scala target version | scalafix test |
5863
# | ----------- | --------- | ------------ | -------------------- |---------------|
5964
# | openjdk6 | 2.11.12 | jvm | | |

admin/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,11 @@ if [ "$SCALAJS_VERSION" = "" ]; then
2222
if [[ "$TEST_SCALAFIX" == "true" ]]; then
2323
projectPrefix="scalafixRules"
2424
else
25-
projectPrefix="compat"
25+
if [[ "$TEST_BINARY_COMPAT" == "true" ]]; then
26+
projectPrefix="binary-compat"
27+
else
28+
projectPrefix="compat"
29+
fi
2630
fi
2731
else
2832
projectPrefix="compatJS"

0 commit comments

Comments
 (0)