Skip to content

Commit

Permalink
Add Dotty build to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbrown committed Jun 19, 2020
1 parent cc7a0c1 commit 232cb8d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jdk:

scala_version_212: &scala_version_212 2.12.11
scala_version_213: &scala_version_213 2.13.2
dotty_version: &dotty_version 0.24.0

before_install:
- export PATH=${PATH}:./vendor/bundle
Expand Down Expand Up @@ -76,6 +77,14 @@ jobs:
name: Binary compatibility 2.13
scala: *scala_version_213

# Note that we're currently only building some modules on Dotty, not running tests.
- &dotty_tests
stage: test
name: Dotty tests
env: TEST="Dotty tests"
script: sbt ++$TRAVIS_SCALA_VERSION! alleycatsLawsJVM/compile
scala: *dotty_version

- stage: styling
name: Linting
env: TEST="linting"
Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,8 @@ addCommandAlias("validateJVM", ";fmtCheck;buildJVM;bench/test;validateBC;makeMic
addCommandAlias("validateJS", ";catsJS/compile;testsJS/test;js/test")
addCommandAlias("validateKernelJS", "kernelLawsJS/test")
addCommandAlias("validateFreeJS", "freeJS/test") //separated due to memory constraint on travis
addCommandAlias("validate", ";clean;validateJS;validateKernelJS;validateFreeJS;validateJVM")
addCommandAlias("validateDotty", ";++0.24.0!;alleycatsLawsJVM/compile")
addCommandAlias("validate", ";clean;validateJS;validateKernelJS;validateFreeJS;validateJVM;validateDotty")

addCommandAlias("prePR", "fmt")

Expand Down

0 comments on commit 232cb8d

Please sign in to comment.