forked from ali-sdk/ali-rds
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support transaction on one request ctx (ali-sdk#7)
* feat: support transaction on one request ctx like koa's ctx: make sure only one active transaction on one ctx * test: use codecov
- Loading branch information
1 parent
3410bd1
commit 3bd4e44
Showing
9 changed files
with
195 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,15 @@ | ||
sudo: false | ||
language: node_js | ||
|
||
node_js: | ||
- iojs-2 | ||
|
||
- 6 | ||
- 4 | ||
env: | ||
global: | ||
# ALI_SDK_RDS_* env | ||
- secure: np6Gu8jqwZA9TMBh+2AG10G6YeTsQCFMYoIkVNhD32CpuPV5o4lD0VaKoXb83tOjzbcn1aXmfUkfe1NHG8ulJLayD3/tnDZcGiNdfqBEaFFppTF/Q0dkj8I5k7djf9uOxeqk0l3Lq0sFQ3dZOqb0Hpt7tCC58I8sRr6g7118UY4= | ||
- secure: qjQ2ErTqOQ2v6JQgwmdTL1L9Xpu0wvq+teaHvoKp0ffqc4Bpdk2IcCHpSylbgJYLO8Dsox5knA62q7DjJDEVSk/0JabTsmrMiwdpI/ipzFez9Mv8lvYZe7suNKb9rcpWcqIPqQMki010tFVVQCPKhcbGIIQpijeZjRms2RiRb6w= | ||
- secure: Sl/V1goTS1ot2rY59XEMP9/ZonrBCBbYpxHAOAd1plJuFfLHreJJG9ppH6jEW1bLoKvAXTpqYX3Vxn4hhOB5h2idX8b6cfxSXLRPh+aRyQVriv7uqyOr3ZnPmgq2pbdZj6KC4IE0Oej9DECAG8PReVrBkRyDIES0D9EeYXlYaFo= | ||
- secure: tBQhkSxQnC69od0OIFOuz9blcdxjmEpCt3DWC4mkx+AfJqcTH2JMU4COxlprB4GsGf1ZWyPbdDuviXKLGK31TwJ+R99xNyr6wQBMJEMCxMBH7l/j4qL0zD07j9teV3OZsGlh74DfZv74I43xvtozWUrv9obWgRkPoHP9a0qB0Mo= | ||
- secure: jNCqlCBSrqZNvVxxRKEXcELC8vX1AbZBr2K1NUNGBAApng0SiET+165T1Azk77O0CJnTt8vhVH/e45Nq9NnJac5LpaFEGcUbH3HOHoTSExcj+6ijn//JclrZwZDuUHogcyzf3fxfn0v+D+dZbIvcKBTyWAfwhLoN5uN1pfgzPpI= | ||
- secure: El8Ge1OM0ADKiwr4XyBcL8baRnWBSlggjW7zLDKrXhN9Iz3ddyUPcMfApvZvbB4vIOy6ArJbV84TUevo6kLeBXRHwFb0tqf475HSpSvlrgaojcQCzbMLijbQI1i3hyny3S6dweyW/FdPpcH7H9bMuJq4GqhFc0dmSvdTA7gGXKY= | ||
|
||
script: npm run test-travis | ||
after_script: npm install coveralls@2 && cat ./coverage/lcov.info | coveralls | ||
- secure: "LdAG4NSfmRU3DEBI0byF+78BfgOqGXDfnxSMA1ER70mnvcOYlqQoKS/ieFlVP1yqDZ+Ut4RNCezBEQt3sLstQEwt8vlvf+Zf+0UbZfrukPmII2nmF1/QwMkVcU/kQc0O2OZwbcXTtgFm/c3WM3SR+jDmHo98IKDxZc08IpJQg4s=" | ||
- secure: "Xd6QyLFhS7pB0+ySn1nE5TsrjL6OmKxBdatuQbXMTuKTMyKqnSGSbkdbjmX0FPXfXJQTUElyShat4UWRP4QJ1tWqrRCZkMy6bOIG7IjBh44peajEMvE11Lj2cNYmBKysX2I/iXM4Dw5ayUfeO/s/+g05UC0lBwwE1ePMkxI5E2w=" | ||
- secure: "DSxD3Uj4H+4D3rPYRQEoXZvz8dzIdS+iEE2IT0RklIFahgDjXrOhmO+10RUbglYEKZC3F60KnMjlJXUM6RGMTvjAK5MsSuQqplQdB2nM7vX9Fx73HdhmWO/TzX2kFwcUvOkYrdB7ZtnUA3PFLh8nFvCv9YV4P1QKdwdcuh0aF/E=" | ||
- secure: "X715wSwfvyIvYCPYzB1cmHrKxR9w3p0mrSuRX8pjSMfwRfYoh2gd/vZAmlgue9CB0zy9WlqKQpiJdOUscCQLW8oDP9X4LZYsBCSloyOIeywpgFPAFyZda0vO4A6dP0VgSAaEl1Qfq6hKts02rg+OkYnLdgxkrVahQPPfKOkTmBU=" | ||
script: | ||
- npm run ci | ||
after_script: | ||
- npm i codecov && codecov |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
/**! | ||
* ali-rds - lib/transaction.js | ||
* | ||
/** | ||
* Copyright(c) ali-sdk and other contributors. | ||
* MIT Licensed | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
/**! | ||
* ali-rds - test/operator.test.js | ||
* | ||
/** | ||
* Copyright(c) ali-sdk and other contributors. | ||
* MIT Licensed | ||
* | ||
|