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

carrot / roots-js-pipeline / 67
100%

Build:
DEFAULT BRANCH: master
Ran 17 Sep 2015 10:05PM UTC
Jobs 1
Files 1
Run time 0s
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
67

Pull #12

travis-ci

brewingcode
fix exception during UglifyJS.minify()

During a `roots compile -e production`, the accumulated javascript was getting
a syntax error between two files in the pipeline, which threw an exception
during the UglifyJS.minify() step. Specifically, the `all_contents` var
contained this bit of javascript:

    .... [tail end of first javascript file]
    prototype.toString=function(){return""+this._wrapped},"function"==typeof
    define&&define.amd&&define("underscore",[],function(){return m})}).call(this);
    //# sourceMappingURL=underscore-min.map(function() {

        var a, b, c;
    ....
    }).call(this);
    .... [tail end of next javascript file]

Note that the tail end of the first file has the `sourceMappingURL` in a
comment, and the next file gets concat'd immediately after. However, the start
of the second file gets lost in the commented-out `sourceMappingURL` of the
first file. The .js should look more like:

    .... [tail end of first javascript file]
    prototype.toString=function(){return""+this._wrapped},"function"==typeof
    define&&define.amd&&define("underscore",[],function(){return m})}).call(this);
    //# sourceMappingURL=underscore-min.map
    (function() {

        var a, b, c;
    ....
    }).call(this);
    .... // tail end of next javascript file
Pull Request #12: fix exception during UglifyJS.minify()

89 of 89 relevant lines covered (100.0%)

9.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 67.1 17 Sep 2015 10:05PM UTC 0
100.0
Travis Job 67.1
Source Files on build 67
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #67
  • Pull Request #12
  • PR Base - master (#58)
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