Skip to content

Instantly share code, notes, and snippets.

@anseljh
Created September 4, 2015 23:42
Show Gist options
  • Save anseljh/c5ceaca532643ac81f5a to your computer and use it in GitHub Desktop.
Save anseljh/c5ceaca532643ac81f5a to your computer and use it in GitHub Desktop.
Test failures
Using worker: worker-linux-docker-89b3c360.prod.travis-ci.org:travis-linux-1
Build system information
Build language: node_js
Build image provisioning date and time
Thu Feb 5 15:09:33 UTC 2015
Operating System Details
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux Version
3.13.0-29-generic
Cookbooks Version
a68419e https://github.com/travis-ci/travis-cookbooks/tree/a68419e
GCC version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
LLVM version
clang version 3.4 (tags/RELEASE_34/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
Pre-installed Ruby versions
ruby-1.9.3-p551
Pre-installed Node.js versions
v0.10.36
Pre-installed Go versions
1.4.1
Redis version
redis-server 2.8.19
riak version
2.0.2
MongoDB version
MongoDB 2.4.12
CouchDB version
couchdb 1.6.1
Neo4j version
1.9.4
RabbitMQ Version
3.4.3
ElasticSearch version
1.4.0
Installed Sphinx versions
2.0.10
2.1.9
2.2.6
Default Sphinx version
2.2.6
Installed Firefox version
firefox 31.0esr
PhantomJS version
1.9.8
ant -version
Apache Ant(TM) version 1.8.2 compiled on December 3 2011
mvn -version
Apache Maven 3.2.5 (12a6b3acb947671f09b81f49094c53f426d8cea1; 2014-12-14T17:29:23+00:00)
Maven home: /usr/local/maven
Java version: 1.7.0_76, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: en_US, platform encoding: ANSI_X3.4-1968
OS name: "linux", version: "3.13.0-29-generic", arch: "amd64", family: "unix"
$ git clone --depth=50 --branch=master git://github.com/anseljh/doubleplus-numbers.git anseljh/doubleplus-numbers
Cloning into 'anseljh/doubleplus-numbers'...
remote: Counting objects: 17, done.
remote: Compressing objects: 100% (15/15), done.
remote: Total 17 (delta 4), reused 11 (delta 2), pack-reused 0
Receiving objects: 100% (17/17), 6.61 KiB | 0 bytes/s, done.
Resolving deltas: 100% (4/4), done.
Checking connectivity... done.
$ cd anseljh/doubleplus-numbers
$ git checkout -qf 885d927deb5ca6bbc69ba14c51faaa13ddb423da
This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables.
If you require sudo, add 'sudo: required' to your .travis.yml
See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
$ nvm install stable
######################################################################## 100.0%
Now using node v0.12.7
$ node --version
v0.12.7
$ npm --version
2.11.3
$ nvm --version
0.23.3
$ npm install
npm WARN peerDependencies The peer dependency commonform-regexp-annotator included from doubleplus-numbers will no
npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency
npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly.
[email protected] node_modules/commonform-regexp-annotator
└── [email protected] ([email protected])
[email protected] node_modules/replace-require-self
└── [email protected]
[email protected] node_modules/number-string-representation
└── [email protected] ([email protected])
[email protected] node_modules/numeral
[email protected] node_modules/defence-cli
├── [email protected]
└── [email protected] ([email protected])
$ npm test
> [email protected] test /home/travis/build/anseljh/doubleplus-numbers
> defence README.md | replace-require-self | node
assert.js:86
throw new assert.AssertionError({
^
AssertionError: [ { message: '\'undefined\' repeats a written number and numeral, which is redundant and error-prone\'',
level: 'info',
deepEqual [ { message: '"two (2)" repeats a written number and numeral, which is redundant and error-prone',
level: 'info',
path:
at [stdin]:9:8
at Object.exports.runInThisContext (vm.js:74:17)
at Object.<anonymous> ([stdin]-wrapper:6:22)
at Module._compile (module.js:460:26)
at evalScript (node.js:431:25)
at Socket.<anonymous> (node.js:164:11)
at Socket.emit (events.js:129:20)
at _stream_readable.js:908:16
at process._tickCallback (node.js:355:11)
npm ERR! Test failed. See above for more details.
The command "npm test" exited with 1.
Done. Your build exited with 1.
@kemitchell
Copy link

Line 16 shows the matched string isn't getting added to your message correctly. Perhaps something to do with the capture group in your regular expression?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment