mediamtx/.travis.yml

38 lines
752 B
YAML
Raw Normal View History

2019-12-28 21:14:15 +00:00
language: minimal
2020-08-31 14:30:34 +00:00
dist: bionic
2020-06-21 19:07:04 +00:00
2019-12-28 21:14:15 +00:00
services:
- docker
2020-08-31 14:30:34 +00:00
# docker >= 19.03 is required for docker buildx, so it is upgraded
before_install:
- sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
- sudo apt update -y
- sudo apt install --only-upgrade docker-ce -y
2019-12-28 21:14:15 +00:00
script:
2020-05-10 19:32:40 +00:00
- make test
2019-12-28 21:14:15 +00:00
deploy:
2020-06-21 19:07:04 +00:00
- provider: script
script: make release
on:
repo: aler9/rtsp-simple-server
tags: true
- provider: releases
api_key: $GITHUB_API_KEY
2019-12-28 21:14:15 +00:00
skip_cleanup: true
file_glob: true
file: release/*
on:
repo: aler9/rtsp-simple-server
tags: true
2020-06-21 19:07:04 +00:00
- provider: script
script: docker login -u aler9 -p $DOCKER_PASSWORD && make dockerhub
on:
repo: aler9/rtsp-simple-server
tags: true