From d4f7ed9ca1b0e5fd90ac629ce1c36e776d565dbe Mon Sep 17 00:00:00 2001 From: Leon Klingele Date: Wed, 31 Jul 2019 17:27:04 +0200 Subject: [PATCH] Add Travis CI --- .travis.yml | 17 +++++++++++++++++ README.md | 2 ++ 2 files changed, 19 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 000000000..da787cf1b --- /dev/null +++ b/.travis.yml @@ -0,0 +1,17 @@ +language: crystal + +crystal: + - latest + +dist: bionic + +before_install: + - shards update + - shards install + +install: + - crystal build --error-on-warnings src/invidious.cr + +script: + - crystal tool format --check + - crystal spec diff --git a/README.md b/README.md index 44254c622..be7c5580a 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # Invidious +[![Build Status](https://travis-ci.org/omarroth/invidious.svg?branch=master)](https://travis-ci.org/omarroth/invidious) + ## Invidious is an alternative front-end to YouTube - Audio-only mode (and no need to keep window open on mobile)