This repository has been archived by the owner on Jun 29, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
18 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,29 +1,31 @@ | ||
language: node_js | ||
services: | ||
- mongodb | ||
- mongodb | ||
node_js: | ||
- "lts/*" | ||
- lts/* | ||
env: | ||
- USE_OLDEST_NPM_VERSIONS=0 | ||
- USE_OLDEST_NPM_VERSIONS=1 | ||
- USE_OLDEST_NPM_VERSIONS=0 | ||
- USE_OLDEST_NPM_VERSIONS=1 | ||
before_install: | ||
- | | ||
if [ $USE_OLDEST_NPM_VERSIONS -eq 1 ] | ||
then | ||
# Test against oldest allowed versions in package.json - Use sed to remove ^ characters | ||
sed -i 's/"\^/"/g' package.json | ||
npm i mongoose@5.0.0 reflect-metadata@0.1.12 | ||
else | ||
npm i mongoose reflect-metadata | ||
fi | ||
- | | ||
if [ $USE_OLDEST_NPM_VERSIONS -eq 1 ] | ||
then | ||
# Test against oldest allowed versions in package.json - Use sed to remove ^ characters | ||
sed -i 's/"\^/"/g' package.json | ||
npm i mongoose@5.0.0 reflect-metadata@0.1.12 | ||
else | ||
npm i mongoose reflect-metadata | ||
fi | ||
script: | ||
- npm test | ||
- npm run coveralls | ||
- npm test | ||
- npm run coveralls | ||
deploy: | ||
provider: npm | ||
email: "szokodiakos@gmail.com" | ||
email: szokodiakos@gmail.com | ||
skip_cleanup: true | ||
api_key: | ||
secure: "N/HLbKkbEKPIISgHjjEi1gtBbexAwMWslXqkK1qnQSUDRtwwnIAc3xYZFhfRy0jThkKt8Jf3ATgt+luMcoR/LMDrAUXoATGuqn0unqC7bJKDvMeMTpliFCL+05XYv/TJmN+B4dqmTnzRun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