Score
0
Watch 15 Star 21

Gitee 极速下载 / bigbluebuttonJava

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/bigbluebutton/bigbluebutton
This repository doesn't specify license. Without author's permission, this code is only for learning and cannot be used for other purposes.
BigBlueButton 是一个使用 ActionScript 开发的在线视频会议系统或者是远程教育系统 spread retract

Clone or download
build_script.sh 1.20 KB
Copy Edit Web IDE Raw Blame History
#!/bin/bash
set -ev
files=`git diff --name-only HEAD..$TRAVIS_BRANCH`
if [[ $files = *"bigbluebutton-html5"* ]]; then
cd bigbluebutton-html5
curl https://install.meteor.com/ | sh
meteor npm install
cd ..
if [ $1 = linter ]
then
html5_files=""
list=$(echo $files | tr " " "\n")
for file in $list
do
if [[ $file = bigbluebutton-html5* ]] && [[ -e $file ]]
then
html5_files+=" $file"
fi
done
bigbluebutton-html5/node_modules/.bin/eslint --ext .jsx,.js $html5_files
elif [ $1 = acceptance_tests ]
then
{
git clone --single-branch -b update-html5 https://github.com/bigbluebutton/docker.git
cp -r docker/{mod,restart.sh,setup.sh,supervisord.conf} .
cp -r docker/Dockerfile Dockerfile.test
docker build -t b2 -f Dockerfile.test .
docker=$(docker run -d -p 80:80/tcp -p 443:443/tcp -p 1935:1935 -p 5066:5066 -p 3478:3478 -p 3478:3478/udp b2 -h localhost)
echo $docker
} > /dev/null
cd tests/puppeteer/core
conf=$(docker exec $(docker ps -q) bbb-conf --secret | grep "Secret:")
secret=$(echo $conf | cut -d' ' -f2)
export BBB_SHARED_SECRET=$secret
node html5-check.js
cd ../../..
npm test
fi
fi

Comment ( 0 )

Sign in for post a comment