Add Travis CI and pin dependencies (#655)

pull/671/head
leonklingele 5 years ago committed by Omar Roth
parent f7dc4cca2c
commit 824150f89b

@ -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

@ -1,5 +1,7 @@
# Invidious # 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 ## Invidious is an alternative front-end to YouTube
- Audio-only mode (and no need to keep window open on mobile) - Audio-only mode (and no need to keep window open on mobile)

@ -11,10 +11,13 @@ targets:
dependencies: dependencies:
pg: pg:
github: will/crystal-pg github: will/crystal-pg
version: ~> 0.17.0
sqlite3: sqlite3:
github: crystal-lang/crystal-sqlite3 github: crystal-lang/crystal-sqlite3
version: ~> 0.12.0
kemal: kemal:
github: kemalcr/kemal github: kemalcr/kemal
version: ~> 0.25.2
crystal: 0.29.0 crystal: 0.29.0

Loading…
Cancel
Save