Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ce9f3871b4 | |||
| 3e9a62e4c9 | |||
| 242c5f2873 | |||
| 57e2fd8da1 | |||
| 742899472c | |||
| 3f126d849f |
@@ -7,25 +7,21 @@ stages:
|
|||||||
testLTS:
|
testLTS:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci install 4
|
- npmci test lts
|
||||||
- npm install
|
|
||||||
- npm test
|
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
testSTABLE:
|
testSTABLE:
|
||||||
stage: test
|
stage: test
|
||||||
script:
|
script:
|
||||||
- npmci install stable
|
- npmci test stable
|
||||||
- npm install
|
|
||||||
- npm test
|
|
||||||
tags:
|
tags:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
release:
|
release:
|
||||||
stage: release
|
stage: release
|
||||||
script:
|
script:
|
||||||
- npm -v
|
- npmci publish
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
10
appveyor.yml
Normal file
10
appveyor.yml
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
environment:
|
||||||
|
nodejs_version: "4"
|
||||||
|
install:
|
||||||
|
- ps: Install-Product node $env:nodejs_version
|
||||||
|
- npm install
|
||||||
|
test_script:
|
||||||
|
- node --version
|
||||||
|
- npm --version
|
||||||
|
- npm test
|
||||||
|
build: off
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmci",
|
"name": "npmci",
|
||||||
"version": "1.0.5",
|
"version": "1.0.7",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ export let install = (versionArg) => {
|
|||||||
"\""
|
"\""
|
||||||
);
|
);
|
||||||
plugins.beautylog.success("Node version " + version + " successfully installed!");
|
plugins.beautylog.success("Node version " + version + " successfully installed!");
|
||||||
|
plugins.shelljs.exec("node -v");
|
||||||
|
plugins.shelljs.exec("npm -v");
|
||||||
done.resolve();
|
done.resolve();
|
||||||
return done.promise;
|
return done.promise;
|
||||||
}
|
}
|
||||||
@@ -5,6 +5,8 @@ export let test = (versionArg) => {
|
|||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
install(versionArg)
|
install(versionArg)
|
||||||
.then(function(){
|
.then(function(){
|
||||||
|
plugins.beautylog.info("now installing dependencies:");
|
||||||
|
plugins.shelljs.exec("npm install");
|
||||||
plugins.beautylog.info("now starting tests:");
|
plugins.beautylog.info("now starting tests:");
|
||||||
plugins.shelljs.exec("npm test");
|
plugins.shelljs.exec("npm test");
|
||||||
plugins.beautylog.success("test finished");
|
plugins.beautylog.success("test finished");
|
||||||
|
|||||||
Reference in New Issue
Block a user