From 57589fb5833516e41151d5cb7d9339fa6389f67d Mon Sep 17 00:00:00 2001 From: Benjamin Pannell Date: Wed, 22 Apr 2015 11:58:10 +0200 Subject: [PATCH] More Travis changes --- .travis.yml | 2 -- test/Core.js | 2 +- test/Core.js.map | 2 +- test/Core.ts | 2 +- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8a6bd3e..493861b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,6 @@ language: node_js node_js: - - "0.8" - "0.10" - - "0.11" services: - mongodb diff --git a/test/Core.js b/test/Core.js index f2ff5a0..6afdd4b 100644 --- a/test/Core.js +++ b/test/Core.js @@ -85,7 +85,7 @@ describe("Core", function () { }); describe("connect", function () { var core; - if (!process.env.CI) + if (!process.env.CI_SERVER) it("should return a rejection if the connection fails", function () { core = new Iridium.Core("mongodb://0.0.0.0/test"); return chai.expect(core.connect()).to.be.rejected; diff --git a/test/Core.js.map b/test/Core.js.map index 960afea..7a2b61e 100644 --- a/test/Core.js.map +++ b/test/Core.js.map @@ -1 +1 @@ -{"version":3,"file":"Core.js","sourceRoot":"","sources":["Core.ts"],"names":["InheritedCore","InheritedCore.constructor","InheritedCoreWithCustomConstructor","InheritedCoreWithCustomConstructor.constructor"],"mappings":";;;;;;AACA,AADA,4CAA4C;AAC5C,IAAO,OAAO,WAAW,UAAU,CAAC,CAAC;AAErC,IAAM,aAAa;IAASA,UAAtBA,aAAaA,UAAqBA;IAAxCA,SAAMA,aAAaA;QAASC,8BAAYA;QACpCA,cAASA,GAAGA,EAAEA,CAACA;IACnBA,CAACA;IAADD,oBAACA;AAADA,CAACA,AAFD,EAA4B,OAAO,CAAC,IAAI,EAEvC;AAED,IAAM,kCAAkC;IAASE,UAA3CA,kCAAkCA,UAAqBA;IACzDA,SADEA,kCAAkCA;QAEhCC,kBAAMA,0BAA0BA,CAACA,CAACA;IACtCA,CAACA;IACLD,yCAACA;AAADA,CAACA,AAJD,EAAiD,OAAO,CAAC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],"names":["InheritedCore","InheritedCore.constructor","InheritedCoreWithCustomConstructor","InheritedCoreWithCustomConstructor.constructor"],"mappings":";;;;;;AACA,AADA,4CAA4C;AAC5C,IAAO,OAAO,WAAW,UAAU,CAAC,CAAC;AAErC,IAAM,aAAa;IAASA,UAAtBA,aAAaA,UAAqBA;IAAxCA,SAAMA,aAAaA;QAASC,8BAAYA;QACpCA,cAASA,GAAGA,EAAEA,CAACA;IACnBA,CAACA;IAADD,oBAACA;AAADA,CAACA,AAFD,EAA4B,OAAO,CAAC,IAAI,EAEvC;AAED,IAAM,kCAAkC;IAASE,UAA3CA,kCAAkCA,UAAqBA;IACzDA,SADEA,kCAAkCA;QAEhCC,kBAAMA,0BAA0BA,CAACA,CAACA;IACtCA,CAACA;IACLD,yCAACA;AAADA,CAACA,AAJD,EAAiD,OAAO,CAAC,IAAI,EAI5D;AAED,QAAQ,CAAC,MAAM,EAAC;IACZ,QAAQ,CAAC,aAAa,EAAC;QACnB,EAAE,CAAC,4BAA4B,EAAC;YAC5B,IAAI,IAAI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;YACxD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC/D,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,sCAAsC,EAAC;YACtC,IAAI,OAAO,CAAC,IAAI,CAAC;gBACb,QAAQ,EAAE,MAAM;aACnB,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,qEAAqE,EAAC;YACrE,IAAI,IAAI,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;gBACxB,IAAI,EAAE,WAAW;gBACjB,IAAI,EAAE,KAAK;gBACX,QAAQ,EAAE,MAAM;gBAChB,QAAQ,EAAE,MAAM;gBAChB,QAAQ,EAAE,UAAU;aACvB,CAAC,CAAC;YAEH,IAAI,CAAC,MAAM,CAAC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IAAI,IAAI,GAAG,IAAI,aAAa,CAAC;gBACzB,QAAQ,EAAE,MAAM;aACnB,CAAC,CAAC;YAEH,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;QAEH,EAAE,CAAC,oCAAoC,EAAC;YACpC,IAAI,IAAI,GAAG,IAAI,kCAAkC,EAAE,CAAC;YACpD,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,0BAA0B,CAAC,CAAC;QAC/D,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC,CAAC,CAAC"} \ No newline at end of file diff --git a/test/Core.ts b/test/Core.ts index 531d6a8..3805ed9 100644 --- a/test/Core.ts +++ b/test/Core.ts @@ -89,7 +89,7 @@ describe("Core",() => { describe("connect",() => { var core: Iridium.Core; - if (!process.env.CI) + if (!process.env.CI_SERVER) it("should return a rejection if the connection fails",() => { core = new Iridium.Core("mongodb://0.0.0.0/test"); return chai.expect(core.connect()).to.be.rejected;