Run crystal tool format --check on Travis CI (#518)

This commit is contained in:
Sijawusz Pur Rahnama 2019-02-05 09:23:20 +01:00 committed by Serdar Dogruyol
parent 6cf2b40ca8
commit 1fa87761a4
2 changed files with 2 additions and 1 deletions

View File

@ -6,6 +6,7 @@ crystal:
script:
- crystal spec
- crystal spec --release --no-debug
- crystal tool format --check
matrix:
allow_failures:

View File

@ -25,7 +25,7 @@ module Kemal
#
# If *port* is not given Kemal will use `Kemal::Config#port`
#
# To use custom command line arguments, set args to nil
# To use custom command line arguments, set args to nil
#
def self.run(port : Int32? = nil, args = ARGV, &block)
Kemal::CLI.new args