-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add AppVeyor as a CI on Windows #585
Conversation
3be43a0
to
7b03d16
Compare
Progress:
|
* Bump coursier to 1.0.0, why not? * Remove comment in .jvmopts because of: sbt/sbt#3908 * Disable tests not running on Windows * scalafix.tests.reflect.ScalafixReflectTests * scalafix.tests.cli.CliGitDiffTests * scalafix.tests.cli.CliSemanticTests * scalafix.tests.core.PatchSuite * scalafix.tests.reflect.ToolClasspathTests
2dc733a
to
8ee543c
Compare
.travis.yml
Outdated
|
||
- CI_TEST: scalafmt | ||
|
||
- CI_TEST: scalafixTest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this run scalafixTest
for all scala versions and JS + JVM? I thought we had to run scalafix/scalafixTest
@@ -1,6 +1,7 @@ | |||
scalafix | |||
[![Latest version](https://index.scala-lang.org/scalacenter/scalafix/scalafix-core/latest.svg)](https://index.scala-lang.org/scalacenter/scalafix/scalafix-core) | |||
[![Build Status](https://travis-ci.org/scalacenter/scalafix.svg?branch=master)](https://travis-ci.org/scalacenter/scalafix) | |||
[![Travis Build Status](https://travis-ci.org/scalacenter/scalafix.svg?branch=master)](https://travis-ci.org/scalacenter/scalafix) | |||
[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/laoidnw0txrcxmxa/branch/master?svg=true)](https://ci.appveyor.com/project/scalacenter/scalafix/branch/master) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
project/ScalafixBuild.scala
Outdated
commands += Command.command("ci-sbt-windows") { s => | ||
// scripted tests don't work in sbt 1.0 yet because we run Sbt1 | ||
"scalafix-sbt/publishLocal" :: | ||
testSkipWindows("scalafix-sbt") :: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we skip scripted tests on windows?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no this is scalafix-sbt/test
project/ScalafixBuild.scala
Outdated
testSkipWindows("scalafix") :: | ||
s | ||
}, | ||
commands += Command.command("ci-fast-211-windows") { s => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe only run 2.12 + JVM on windows?
appveyor.yml
Outdated
matrix: | ||
- CI_TEST: ci-fast-212 | ||
# - CI_TEST: ci-fast-211 to shave some time | ||
- CI_TEST: ci-sbt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we skip this? The sbt 1 entry doesn't run any tests iirc
Seems like we'll have to add a method overload for |
The appveyor failure is reproducing #583 https://ci.appveyor.com/project/scalacenter/scalafix/build/33/job/ddm4qbjd2hqxyfao#L5494 Can we can disable it for now and I will try and fix it in a followup PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM once CI is green 👍 Failures are minor
0bf0802
to
32bb2cf
Compare
btw take a look at any of my appveyor setups (particularly ensime-server or ensime-sbt) to see how to get symlinks to work. Look for magical git commands in the preamble. |
@fommil the symlink was not used, I just removed it. |
sbt/sbt#3908