• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 8446
0%
main: 91%

Build:
Build:
LAST BUILD BRANCH: infer-python-dist-ics-from-pyproject
DEFAULT BRANCH: main
Ran 29 Dec 2015 06:30PM UTC
Jobs 8
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
8446

push

travis-ci

stuhood
Preliminary support for scala.js

This review includes integration of scala/scala.js with the node.js contrib module, to allow cross compiling and running a Javascript binary via node.js.

- Add scalajs contrib module
- Split a base class out of ZincCompile
- Add a ScalaJSZincCompile subclass which forces the ScalaJS compiler plugin
- Add ScalaJSLink to generate javascript as resources via `scalajsld`, which can be bundled into dependent targets.
- Add `scala_js_binary` and `scala_js_library` targets: this supports the "macro centric" approach to cross compilation, where if you wanted to cross compile something as both a `scala_library` and a `scala_js_library`, you'd add a macro that generated both target types with unique names, and unique transitive dep names
- Add ScalaJSPlatform to automatically inject the appropriate runtime libs, and to act as a NodeResolver for `scala_js_binary` targets
- Integration tests to open a `node.js` repl that calls a `scala.js` compiled binary, and to confirm that the `scala.js` binary is available as a resource on a JVM classpath

Testing Done:
https://travis-ci.org/pantsbuild/pants/builds/99190958

----

Can test manually via:

    $ ./pants repl contrib/scalajs/examples/src/scala/org/pantsbuild/scalajs/example/factfinder
    ...
    > var _ = require('factfinder');
    > org.pantsbuild.scalajs.example.factfinder.Factfinder().fact(10);
    3628800

Bugs closed: 2737

Reviewed at https://rbcommons.com/s/twitter/r/2453/
Jobs
ID Job ID Ran Files Coverage
1 8446.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 29 Dec 2015 06:30PM UTC 0
Travis Job 8446.1
4 8446.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 29 Dec 2015 06:45PM UTC 0
Travis Job 8446.4
5 8446.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 29 Dec 2015 06:39PM UTC 0
Travis Job 8446.5
6 8446.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 29 Dec 2015 06:38PM UTC 0
Travis Job 8446.6
7 8446.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 29 Dec 2015 06:38PM UTC 0
Travis Job 8446.7
8 8446.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 29 Dec 2015 06:49PM UTC 0
Travis Job 8446.8
9 8446.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 29 Dec 2015 06:48PM UTC 0
Travis Job 8446.9
10 8446.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 29 Dec 2015 06:51PM UTC 0
Travis Job 8446.10
Source Files on build 8446
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #8446
  • 4236611a on github
  • Prev Build on master (#8443)
  • Next Build on master (#8455)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc