Skip to content

Travis CI #21

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

Merged
merged 2 commits into from
Feb 14, 2014
Merged

Travis CI #21

merged 2 commits into from
Feb 14, 2014

Conversation

VladUreche
Copy link
Contributor

Travis CI setup.

@VladUreche
Copy link
Contributor Author

Review by @sjrd, if possible.

@VladUreche
Copy link
Contributor Author

Seems to be working -- once the patch is merged, it should start building on Travis.

@@ -0,0 +1,13 @@
language: scala
script:
- sbt ++$TRAVIS_SCALA_VERSION clean update compile test
Copy link
Member

Choose a reason for hiding this comment

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

what does ++$TRAVIS_SCALA_VERSION do? where is it defined?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's defined by the Travis build to the current scala version, in case you use cross-compilation.
See this doc for the full explanation: http://docs.travis-ci.com/user/languages/scala/#Choosing-Scala-versions-to-test-against

@lrytz
Copy link
Member

lrytz commented Feb 14, 2014

lgtm

@VladUreche
Copy link
Contributor Author

Thanks @lrytz!

VladUreche pushed a commit that referenced this pull request Feb 14, 2014
@VladUreche VladUreche merged commit d1a6e9a into scala:master Feb 14, 2014
@lrytz
Copy link
Member

lrytz commented Feb 14, 2014

got it. could we have travis pick up the scala version defined in build.sbt? otherwise we always need to update it in two places.

@VladUreche
Copy link
Contributor Author

Yes, let's do that. I'll make the changes in-place.

@VladUreche
Copy link
Contributor Author

6f49c27

OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 8, 2016
At issue is that the optimizer would eliminate closure classes
completely, then neglect to eliminate those classes from the
container's InnerClasses attribute. This breaks tooling which
expects those entries to correspond to real classes.

The code change is essentially mgarcia's - I minimized it and
put the caches in perRunCaches, and added the test case which
verifies that after being compiled under -optimise, there are
no inner classes. Before/after:

  7,8d6
  <   InnerClasses:
  <        public final scala#22; //class A_1$$anonfun$f$1
  37,45c35,40
  <   scala#21 = Utf8               A_1$$anonfun$f$1
  <   scala#22 = Class              scala#21            //  A_1$$anonfun$f$1
  <   scala#23 = Utf8               Code
  ---
  >   scala#21 = Utf8               Code
OlivierBlanvillain pushed a commit to OlivierBlanvillain/dotty that referenced this pull request Dec 12, 2016
At issue is that the optimizer would eliminate closure classes
completely, then neglect to eliminate those classes from the
container's InnerClasses attribute. This breaks tooling which
expects those entries to correspond to real classes.

The code change is essentially mgarcia's - I minimized it and
put the caches in perRunCaches, and added the test case which
verifies that after being compiled under -optimise, there are
no inner classes. Before/after:

  7,8d6
  <   InnerClasses:
  <        public final scala#22; //class A_1$$anonfun$f$1
  37,45c35,40
  <   scala#21 = Utf8               A_1$$anonfun$f$1
  <   scala#22 = Class              scala#21            //  A_1$$anonfun$f$1
  <   scala#23 = Utf8               Code
  ---
  >   scala#21 = Utf8               Code
pikinier20 pushed a commit that referenced this pull request Aug 16, 2022
WojciechMazur added a commit to WojciechMazur/dotty that referenced this pull request Mar 19, 2025
Backport "Use bash shell when using here-strings" to LTS
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