代码拉取完成,页面将自动刷新
language: nodejs
dist: bionic
node_js: "14"
env:
global:
- MONGODB=4.4.1
- secure: f2KyTV9GmGnmrMYkUnXIiRD384Fcl3nw5wDBvT6F3ucC3ZdaEw8mfKbMQjKJLgaBb90PnVz72y1tuSt5A4bHetU4kh3Vgb3NyRkJ0md+Pi6Ox+ivI2Zjvv06Xq/Mw2VrBOTHe81z6BntYq8imY7O455s089jMcEvQ052Q/NqSHE=
branches:
except:
- gh-pages
before_install:
- sudo apt-get remove -y mongodb-org mongodb-org-mongos mongodb-org-server mongodb-org-shell mongodb-org-tools
- wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1804-${MONGODB}.tgz -O /tmp/mongodb.tgz
- tar -xf /tmp/mongodb.tgz
- mkdir /tmp/data
- ${PWD}/mongodb-linux-x86_64-ubuntu1804-${MONGODB}/bin/mongod --dbpath /tmp/data --bind_ip 127.0.0.1 --logpath ${PWD}/mongod.log &> /dev/null &
- until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done
install: sudo bash ./bin/countly.install_travis.sh
before_script:
- nodejs --version
- ${PWD}/mongodb-linux-x86_64-ubuntu1804-${MONGODB}/bin/mongod --version
- cat ${PWD}/mongod.log
- sudo rm -rf ./node_modules
- sudo npm install --unsafe-perm
- sudo countly restart
script:
- countly shellcheck
- sudo countly test
after_script:
- cat log/countly-api.log
- cat log/countly-dashboard.log
- cat ${PWD}/mongod.log
after_success:
- cd $TRAVIS_BUILD_DIR
- bash bin/scripts/deploy.sh
- chmod +x bin/scripts/generateDocs.sh
- bash bin/scripts/generateDocs.sh
notifications:
slack:
secure: SplZFh0l8fP/FuQyoFXLE4k358ERYMVaK5nxJhrGbiG08wtTrtJi0qVrEUjfNed4crWtFpvLML0Lb1P+BAykWeEWFz5rjSZ1y0mu+Uqw89D5bk7kUguk+ZF/HOD4bsls2oMRpbK3M26/1VMd6LSg/pJIQd/o8CWSnhozMemB9Pc=
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。