Skip to content
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

Reconfigure build so coreNative/test works as expected. #75

Merged
merged 1 commit into from
Jul 12, 2017

Conversation

olafurpg
Copy link
Contributor

No description provided.

@olafurpg olafurpg mentioned this pull request Jul 12, 2017
@olafurpg
Copy link
Contributor Author

It should be possible to cache the results of the native travis_setup.sh script so it doesn't slow down CI on every run. I've asked Denys.

@mpilquist mpilquist merged commit f82309c into scodec:series/1.1.x Jul 12, 2017
@mpilquist
Copy link
Contributor

Thanks, this works for me locally now too. I'll cherry-pick these commits to a new maintenance branch for now -- v1.1.4-native -- and then do a release.

Copy link
Contributor Author

@olafurpg olafurpg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for the quick response! I admit the setup is a bit awkward at the moment, for example testQuick or testOnly will still not work in coreNative. Hopefully these issues will get fixed once more projects cross-build to native.

crossScalaVersions := Seq(Scala211),
// Don't compile shared/src/test
unmanagedSourceDirectories.in(Test) := Seq(sourceDirectory.in(Test).value),
test := Def.taskDyn {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that utest is published for native. These workarounds should not be necessary in the future if scalacheck/scalatest support native.

@olafurpg olafurpg deleted the native branch July 12, 2017 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants