Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

codecov.io

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

codecov.io - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

6

lib/sendToCodeCov.io.js

@@ -16,6 +16,8 @@ var request = require('request');

commit : configuration.commitId,
travis_job_id : configuration.buildId,
build : configuration.build,
build : configuration.buildId,
branch : configuration.branch
};
if (configuration.service == 'travis'){
query.travis_job_id = configuration.buildId;
}
if (!!configuration.pullRequest){

@@ -22,0 +24,0 @@ query.pull_request = configuration.pullRequest;

@@ -11,2 +11,3 @@ module.exports = {

retval = {
service : 'circle',
buildId : env.CIRCLE_BUILD_NUM,

@@ -13,0 +14,0 @@ commitId : env.CIRCLE_SHA1,

@@ -11,2 +11,3 @@ module.exports = {

return {
service : 'codeship',
buildId : env.CI_BUILD_NUMBER,

@@ -13,0 +14,0 @@ commitId : env.CI_COMMIT_ID,

@@ -11,2 +11,3 @@ module.exports = {

return {
service : 'drone',
buildId : env.DRONE_BUILD_NUMBER,

@@ -13,0 +14,0 @@ commitId : env.DRONE_COMMIT,

@@ -11,3 +11,6 @@ module.exports = {

return {
buildId : env.BUILD_ID,
root : env.WORKSPACE,
service : 'jenkins',
buildId : env.BUILD_NUMBER,
buildUrl : env.BUILD_URL,
commitId : env.GIT_COMMIT,

@@ -14,0 +17,0 @@ branch : env.GIT_BRANCH

@@ -12,2 +12,3 @@

return {
service : 'semaphore',
buildId : env.SEMAPHORE_BUILD_NUMBER,

@@ -14,0 +15,0 @@ commitId : env.SEMAPHORE_PROJECT_HASH_ID,

@@ -14,3 +14,4 @@ module.exports = {

build : env.TRAVIS_JOB_NUMBER,
branch : env.TRAVIS_BRANCH
branch : env.TRAVIS_BRANCH,
service : 'travis'
};

@@ -17,0 +18,0 @@ if (!!env.TRAVIS_PULL_REQUEST && env.TRAVIS_PULL_REQUEST !== 'false'){

{
"name": "codecov.io",
"version": "0.0.7",
"version": "0.0.8",
"description": "lcov posting to codecov.io",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -13,2 +13,3 @@ var getConfiguration = require("../lib/getConfiguration");

expect(getConfiguration()).to.eql({
service : 'travis',
buildId : '1234',

@@ -29,2 +30,3 @@ commitId : '5678',

expect(getConfiguration()).to.eql({
service : 'travis',
buildId : '1234',

@@ -31,0 +33,0 @@ commitId : '5678',

@@ -16,2 +16,3 @@ var travis = require("../../lib/services/circle");

expect(travis.configuration()).to.eql({
service : 'circle',
buildId : '1234',

@@ -30,2 +31,3 @@ commitId : '5678',

expect(travis.configuration()).to.eql({
service : 'circle',
buildId : '1234',

@@ -32,0 +34,0 @@ commitId : '5678',

@@ -5,3 +5,3 @@ var jenkins = require("../../lib/services/jenkins");

it ("can detect travis", function(){
it ("can detect jenkins", function(){
process.env.JENKINS_URL = "http://jenkins.jenkins.example/";

@@ -12,8 +12,13 @@ expect(jenkins.detect()).to.be(true);

it ("can get service env info", function(){
process.env.BUILD_ID = '1234';
process.env.BUILD_NUMBER = '1234';
process.env.BUILD_URL = 'http://asdf/';
process.env.GIT_COMMIT = '5678';
process.env.GIT_BRANCH = 'master';
process.env.WORKSPACE = '/var/lib/jenkins/workspace';
expect(jenkins.configuration()).to.eql({
service : 'jenkins',
buildId : '1234',
buildUrl : 'http://asdf/',
commitId : '5678',
root : '/var/lib/jenkins/workspace',
branch : 'master'

@@ -20,0 +25,0 @@ });

@@ -17,2 +17,3 @@ var travis = require("../../lib/services/travis");

expect(travis.configuration()).to.eql({
service : 'travis',
buildId : '1234',

@@ -32,2 +33,3 @@ commitId : '5678',

expect(travis.configuration()).to.eql({
service : 'travis',
buildId : '1234',

@@ -34,0 +36,0 @@ commitId : '5678',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc