Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
fairblue
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hosting
chat
fairblue
Commits
dbf7347d
Commit
dbf7347d
authored
6 years ago
by
Maxim Khlobystov
Browse files
Options
Downloads
Patches
Plain Diff
Update the CI setup (linting + disable tests).
parent
dbcc684a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+8
-14
8 additions, 14 deletions
.travis.yml
bigbluebutton-html5/.eslintignore
+1
-0
1 addition, 0 deletions
bigbluebutton-html5/.eslintignore
build_script.sh
+23
-0
23 additions, 0 deletions
build_script.sh
with
32 additions
and
14 deletions
.travis.yml
+
8
−
14
View file @
dbf7347d
dist
:
trusty
language
:
node_js
language
:
node_js
install
:
node_js
:
# - git clone git@github.com:browniecab/bigbluebutton-tests.git tests
-
"
8"
-
cd bigbluebutton-html5
-
docker build -t b2 .
if
:
type = pull_request
-
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)
-
export BBB_SHARED_SECRET=$secret
env
:
env
:
global
:
global
:
-
BBB_SERVER_URL=http://localhost/bigbluebutton/api
-
BBB_SERVER_URL=http://localhost/bigbluebutton/api
script
:
script
:
-
node html5-check.js
-
bash ./build_script.sh
-
npm test
after_script
:
after_script
:
-
docker stop $docker
-
docker stop $docker
...
...
This diff is collapsed.
Click to expand it.
bigbluebutton-html5/.eslintignore
+
1
−
0
View file @
dbf7347d
tests/*
tests/*
Gruntfile.js
Gruntfile.js
client/compatibility/*
This diff is collapsed.
Click to expand it.
build_script.sh
0 → 100755
+
23
−
0
View file @
dbf7347d
#!/bin/bash
set
-ev
files
=
`
git diff
--name-only
HEAD..
$TRAVIS_BRANCH
`
if
[[
$files
=
*
"bigbluebutton-html5"
*
]]
;
then
cd
bigbluebutton-html5
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
cd
tests/puppeteer
npm
install
conf
=
$(
docker
exec
$(
docker ps
-q
)
bbb-conf
--secret
|
grep
"Secret:"
)
secret
=
$(
echo
$conf
|
cut
-d
' '
-f2
)
export
BBB_SHARED_SECRET
=
$secret
cd
../..
curl https://install.meteor.com/ | sh
meteor npm
install
cd
tests/puppeteer
npm
install
cd
../../..
bigbluebutton-html5/node_modules/.bin/eslint
--ext
.jsx,.js
$files
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment