1 Star 0 Fork 0

ordinance/3drepo.io

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.travis.yml 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
Daniel 提交于 2018-12-03 12:27 . Issue 1183: Migration - Teamspaces (#1224)
language: node_js
git:
submodules: false
depth: 1
node_js:
- "8.9.3"
sudo: true
dist: trusty
addons:
apt:
sources:
- mongodb-3.2-precise
chrome: stable
hosts:
- test.127.0.0.1
before_install:
- until nc -z localhost 27017; do echo "waiting for mongo"; sleep 1; done
- mkdir -p submodules
- test_ver=`cat backend/test/testDBVersion`
- cd submodules
- git clone https://$TESTS_USER:$TESTS_PASSWORD@github.com/3drepo/tests.git
- cd tests
- git checkout $test_ver
- git status
- cd backend && mongorestore
- cd ../../../
- cp -r ./submodules/tests/frontend/pug/legal/ ./pug/legal
install:
- cd ./backend
- yarn install
- yarn lint
- cd ./../frontend
- yarn install
- yarn lint
- yarn build
cache:
yarn: true
directories:
- node_modules
services:
- rabbitmq
- mongodb
script:
- yarn wdm:update
- yarn wdm:start > /dev/null 2>&1 &
- cd ./../backend
- yarn test
# - cd ./../
# - NODE_ENV=test NODE_CONFIG_DIR='./config' node "./backend/3drepo.js" & sleep 5
# - cd ./frontend
# - yarn e2e
notifications:
email:
recipients:
- devOps@3drepo.org
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/extraordinary/3drepo.io.git
git@gitee.com:extraordinary/3drepo.io.git
extraordinary
3drepo.io
3drepo.io
master

搜索帮助