bigbluebutton-Github/.travis.yml
browniecab c0114f8485 Update tests
(cherry picked from commit 817957b784061fb9519eac84a719556748c6e3e6)
2018-10-03 13:44:14 -04:00

34 lines
927 B
YAML

language: node_js
install:
# - git clone git@github.com:browniecab/bigbluebutton-tests.git tests
- cd bigbluebutton-html5
- docker build -t b2 .
- 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
- cd tests/puppeteer
- npm install
- conf=$(docker exec $(docker ps -q) bbb-conf --secret | grep "Secret:")
- secret=$(echo $conf | cut -d' ' -f2)
- echo $conf
- export BBB_SHARED_SECRET=$secret
env:
global:
- BBB_SERVER_URL=http://localhost/bigbluebutton/api
script:
- echo $BBB_SERVER_URL
- echo $BBB_SHARED_SECRET
- node test-html5-check.js
- node test-chat.js
- node test-draw.js
- node test-status.js
- node test-switch-slides.js
- node test-upload.js
after_script:
- docker stop $docker
# - node tests/puppeteer/test-hotkeys.js
# - node tests/puppeteer/test-hotkeys-mic-first.js