Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
Update travis configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyah Check committed Jan 4, 2020
1 parent 818b8b5 commit 9284da6
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 42 deletions.
42 changes: 19 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
# name: Build and Run Tests
name: Build

# on: [push, pull_request]
on: [push, pull_request]


# jobs:
# setup-build-test:
# name: Setup, Build, Test
# strategy:
# matrix:
# go-version: [1.12.x]
# platform: [macos-latest]
# runs-on: ${{ matrix.platform }}
# steps:
# - name: Setup Go
# uses: actions/setup-go@v1
# with:
# go-version: ${{ matrix.go-version }}
# - name: Checkout code
# uses: actions/checkout@v1
# - name: Build
# run: make build
# - name: Run tests
# run: make test
# - name: Install
# run: make install
jobs:
setup-build-test:
name: Setup, Build, Test
strategy:
matrix:
go-version: [1.12.x]
platform: [macos-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Setup Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v1
- name: Build
run: brew install ffmpeg && make
36 changes: 23 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
dist: bionic
language: go
cache:
directories:
- $GOCACHE
- $GOPATH/pkg/mod
sudo: required
go:
- "1.12.x"
- "1.13.x"
jobs:
include:
- stage: Build
script: make build
- stage: Test
script: make test
name: Install
- script: make install
addons:
apt:
packages:
- ffmpeg
- frei0r-plugins
before_install:
- go get -u github.com/sirupsen/logrus
- go get -u github.com/viert/go-lame
install: true
script:
- make build
- make test
- make install
deploy:
- provider: script
script: echo "Deploy not enabled at the moment"
skip_cleanup: true
on:
branch: master
notifications:
email: false
env: GO111MODULE=on
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
# youtube-dl

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/ch3ck/youtube-dl/Build?style=for-the-badge)](https://github.com/ch3ck/youtube-dl/actions)
[![GoDoc](https://img.shields.io/badge/godoc-reference-5272B4.svg?style=for-the-badge)](https://godoc.org/github.com/ch3ck/youtube-dl)
[![Github All Releases](https://img.shields.io/github/downloads/ch3ck/youtube-dl/total.svg?style=for-the-badge)](https://github.com/ch3ck/youtube-dl/releases)

[![GitHub license](https://img.shields.io/github/license/ch3ck/youtube-dl?style=for-the-badge)](https://github.com/ch3ck/youtube-dl/blob/master/LICENSE)

`youtube-dl` is a simple youtube video downloader and can also download multiple videos concurrently.
Downloaded videos could be converted to `flv` or `mp3` formats.


## Dependencies
## Pre-requisites

* [Go version 1.12](https://github.com/golang/go/releases/tag/go.1.12)
* [Docker CE 17.06](https://docs.docker.com/release-notes/docker-ce/)
* [Lame](https://sourceforge.net/projects/lame/)
- Install [FFMPEG](https://github.com/adaptlearning/adapt_authoring/wiki/Installing-FFmpeg)


## Build

```bash
$ git clone htps://github.com/Ch3ck/youtube-dl
$ cd youtube-dl
Expand Down

0 comments on commit 9284da6

Please sign in to comment.