@fibjs/ci
Autogen-CI-Konfigurationsdatei.
Installation
1$ npm i @fibjs/ci --save-dev
Verwendung
Fügen Sie cieine Immobilie zu Ihrem hinzu package.json:
1
2
3
4"ci": {
"type": "travis, appveyor", // default ci env type is 'travis, appveyor'
"version": "0.3.1" // default version is 0.3.1. Only support version >= 0.3.1
}
Sie können die verfügbaren Versionen hier überprüfen: fibjs.org/downloads/
und das CI-System führt automatisch npm run ciden Befehl aus, also fügen Sie dies bitte zu Ihrem hinzu package.json:
1
2
3"scritps": {
"ci": "fibjs test/test.js"
}
Wie
Verwenden Sie npm postinstallden Hook, um den *.ymlnach jedem npm installLauf zu erstellen.
