Update readme. Add travis ci.

This commit is contained in:
alf 2016-10-23 20:03:08 -07:00
parent eff52a00de
commit 1818bc2b83
3 changed files with 20 additions and 1 deletions

15
.travis.yml Normal file
View File

@ -0,0 +1,15 @@
sudo: required
language: bash
services: docker
env:
- DOCKER_IMAGE=nginx-rtmp
script:
- docker build -t ${DOCKER_IMAGE}
after_script:
- docker images
- docker run -d -p 1935:1935 -p 8080:80 -t ${DOCKER_IMAGE}
- docker ps -a

View File

@ -67,7 +67,7 @@ RUN cd /tmp/ffmpeg-${FFMPEG_VERSION} && \
--disable-debug \ --disable-debug \
&& make && make install && make distclean && make && make install && make distclean
RUN cd /opt/ && tar cvzf /tmp/nginx.tar.gz nginx # RUN cd /opt/ && tar cvzf /tmp/nginx.tar.gz nginx
# Cleanup. # Cleanup.
RUN rm -rf /var/cache/* /tmp/* RUN rm -rf /var/cache/* /tmp/*

View File

@ -7,6 +7,10 @@ default settings for HLS live streaming. Built on Alpine Linux.
* ffmpeg 3.0.2 (compiled from source) * ffmpeg 3.0.2 (compiled from source)
* Default HLS settings (See: [nginx.conf](nginx.conf)) * Default HLS settings (See: [nginx.conf](nginx.conf))
[![Docker Stars](https://img.shields.io/docker/stars/alfg/nginx-rtmp.svg)]()
[![Docker Pulls](https://img.shields.io/docker/pulls/alfg/nginx-rtmp.svg)]()
[![Docker Automated buil](https://img.shields.io/docker/automated/alfg/nginx-rtmp.svg)]()
## Usage ## Usage
### Server ### Server