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

pantsbuild / pants / 7256
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: pex-2.91.4
DEFAULT BRANCH: main
Ran 06 Oct 2015 02:50AM 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
7256

push

travis-ci

stuhood
Adding Node examples

I'm adding a pretty complete and complex set of modules representing different things:

- A server project transpiled using Babel in its prepublish step
- A web build tool encapsulating Webpack and a set of loaders
- A web component (button) using React and CSS in a separate file, built with the web build tool, containing its own test file
- A web project using React, built with the web build tool, depending on the server project and button component, and containing its own test file

This works now that https://github.com/pantsbuild/pants/pull/2267 is merged to master.

This also modifies npm_resolve.py to work with an existing package.json rather than simply write out a simple package.json with only name/version/dependencies fields. Currently this works by dropping dependency fields in the existing package.json and replacing them with whatever is in the BUILD target dependencies. This lets it work with an existing valid package.json that can be installed via "npm install" without Pants, but it isn't the best long-term experience as I describe in the README. Support should improve over time to let Pants simply get its dependencies from a package.json.

**Note - using an existing package.json means that any "prepublish" script in the scripts field of package.json will be executed as part of the "npm install" done for target resolution (npm runs prepublish if you do an "npm install" inside the folder - https://docs.npmjs.com/misc/scripts). This is necessary if you have a source dependency that needs transpilation, but it is an arbitrary script that gets run inside the resolve.**

Testing Done:
- Unit test in test_npm_resolve.py tests the integration with source package.json
- Integration tests in test_npm_resolve_integration.py install two of the examples: server-project and web-project. web-project has (transitive) dependencies on all the examples and 3rd party modules. server-project is nice on its own as it only depends on 3rd party modules and it includes a prepublish transpilation step.

Passing CI run: https://travis-ci.org/pantsbuild/pants/builds/83805985

Bugs closed: 2168

Reviewed at https://rbcommons.com/s/twitter/r/2900/
Jobs
ID Job ID Ran Files Coverage
1 7256.1 (CI_FLAGS="-cjlpn 'Various pants self checks'") 06 Oct 2015 02:50AM UTC 0
Travis Job 7256.1
4 7256.4 (CI_FLAGS="-fkmsrcjlp 'Python contrib tests'") 06 Oct 2015 02:56AM UTC 0
Travis Job 7256.4
5 7256.5 (CI_FLAGS="-fkmsrjlpn -i 0/6 'Python integration tests for pants - shard 1'") 06 Oct 2015 02:54AM UTC 0
Travis Job 7256.5
6 7256.6 (CI_FLAGS="-fkmsrjlpn -i 1/6 'Python integration tests for pants - shard 2'") 06 Oct 2015 02:58AM UTC 0
Travis Job 7256.6
7 7256.7 (CI_FLAGS="-fkmsrjlpn -i 2/6 'Python integration tests for pants - shard 3'") 06 Oct 2015 02:56AM UTC 0
Travis Job 7256.7
8 7256.8 (CI_FLAGS="-fkmsrjlpn -i 3/6 'Python integration tests for pants - shard 4'") 06 Oct 2015 02:57AM UTC 0
Travis Job 7256.8
9 7256.9 (CI_FLAGS="-fkmsrjlpn -i 4/6 'Python integration tests for pants - shard 5'") 06 Oct 2015 03:02AM UTC 0
Travis Job 7256.9
10 7256.10 (CI_FLAGS="-fkmsrjlpn -i 5/6 'Python integration tests for pants - shard 6'") 06 Oct 2015 03:05AM UTC 0
Travis Job 7256.10
Source Files on build 7256
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #7256
  • be479c7e on github
  • Prev Build on master (#7252)
  • Next Build on master (#7264)
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