34 lines
525 B
YAML
34 lines
525 B
YAML
dist: bionic
|
|
|
|
language: node_js
|
|
|
|
env:
|
|
- JOB_TYPE=linter
|
|
- JOB_TYPE=acceptance_tests
|
|
|
|
node_js:
|
|
- "12"
|
|
|
|
jobs:
|
|
allow_failures:
|
|
- env: JOB_TYPE=linter
|
|
include:
|
|
- stage: "Linter"
|
|
name: "ESLint"
|
|
env: JOB_TYPE=linter
|
|
- stage: "Tests"
|
|
name: "Acceptance Tests"
|
|
env: JOB_TYPE=acceptance_tests
|
|
|
|
env:
|
|
global:
|
|
- BBB_SERVER_URL=http://localhost/bigbluebutton/api
|
|
|
|
script:
|
|
- travis_wait 30 bash ./build_script.sh $JOB_TYPE
|
|
|
|
after_script:
|
|
- docker stop $docker
|
|
- docker rm $docker
|
|
- docker rmi b2
|