bigbluebutton-Github/.travis.yml

36 lines
551 B
YAML
Raw Normal View History

dist: bionic
language: node_js
2018-11-20 07:32:15 +08:00
env:
- JOB_TYPE=linter
# - JOB_TYPE=acceptance_tests
2018-11-20 07:32:15 +08:00
node_js:
- "8"
2018-11-20 07:32:15 +08:00
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
if: type = pull_request
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