forked from szokodiakos/typegoose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 1.26 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
language: node_js
services:
- mongodb
node_js:
- 6
env:
- 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.11 reflect-metadata@0.1.8
else
npm i mongoose reflect-metadata
fi
script:
- npm test
- npm run coveralls
deploy:
provider: npm
email: "szokodiakos@gmail.com"
skip_cleanup: true
api_key:
secure: "N/HLbKkbEKPIISgHjjEi1gtBbexAwMWslXqkK1qnQSUDRtwwnIAc3xYZFhfRy0jThkKt8Jf3ATgt+luMcoR/LMDrAUXoATGuqn0unqC7bJKDvMeMTpliFCL+05XYv/TJmN+B4dqmTnzRun/f96ZPghbokm4MfCNYjGeY6jvE1ffdiu7NAnT4fXCfAcuH5rTkhdEZegJ89wKKUwHjX7mpg/Ofi/h36am4vlxOXZ25ErwQAX2XpaBgExWvUvbOFMZfHASOdSCa3WRwB0CvFdHRienfiWjNW85efao99xU2BPYpc2pq1MaebLKbWG7hB+OPuchG3XgP9XhYaMbGh/GGV1kstBwJqxSR4aT3OUAR4bDflwYz9kPDbDAKmco1oqA9GTXlKbtzHBpl0U9fWQz5EsHvDh1PcFu0GA4lXx7n6iO2RWnNsJepL5DvH1PyyDRMPov2bqk7ByjCmJEz+cxI/Js/hGch1SSjvX2r3XB7RCbvnWa72NeP1UlzN0bD7ZUjf86qTBuyhq8ohhREdalXS+oRq2neEhO5CMsjm74xbX0KRFfZe2q9Bi2hdycNAuVptDDHvpVTP2F20SWpkiQs5ToHQQiBKphY90SGbVtWJsvWBzAlueYCIguwgNHdmFicejAIGvZcE9hBo6Yoc2C3NOZJABsa+yeKkQw9MgcHaAg="
on:
branch: master