2022-03-15 03:04:23 +08:00
|
|
|
dist: focal
|
2018-08-27 23:00:42 +08:00
|
|
|
language: node_js
|
2022-03-15 03:04:23 +08:00
|
|
|
node_js: 16
|
2018-08-27 23:00:42 +08:00
|
|
|
|
2018-11-20 07:32:15 +08:00
|
|
|
env:
|
|
|
|
- JOB_TYPE=linter
|
2020-03-29 16:23:57 +08:00
|
|
|
- JOB_TYPE=acceptance_tests
|
2020-03-29 16:24:39 +08:00
|
|
|
global:
|
|
|
|
- BBB_SERVER_URL=http://localhost/bigbluebutton/api
|
2018-10-04 01:53:11 +08:00
|
|
|
|
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
|
|
|
|
|
2018-08-28 01:42:21 +08:00
|
|
|
script:
|
2018-11-23 04:18:58 +08:00
|
|
|
- travis_wait 30 bash ./build_script.sh $JOB_TYPE
|
2018-08-28 01:42:21 +08:00
|
|
|
|
|
|
|
after_script:
|
2018-08-28 01:38:50 +08:00
|
|
|
- docker stop $docker
|
2018-08-31 03:21:49 +08:00
|
|
|
- docker rm $docker
|
|
|
|
- docker rmi b2
|