2016-03-26 01:03:25 +00:00
|
|
|
language: bash
|
2016-03-26 01:13:31 +00:00
|
|
|
sudo: required
|
2016-03-26 01:03:25 +00:00
|
|
|
|
2016-12-08 07:50:48 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- debian-sid
|
|
|
|
packages:
|
|
|
|
- shellcheck
|
|
|
|
|
2016-03-26 03:32:06 +00:00
|
|
|
os:
|
|
|
|
- linux
|
|
|
|
- osx
|
|
|
|
|
2016-03-27 08:50:09 +00:00
|
|
|
before_install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
|
|
|
|
|
2016-03-26 01:03:25 +00:00
|
|
|
script:
|
2016-11-04 06:49:22 +00:00
|
|
|
- time ./neofetch --ascii --config travis --ascii_distro travis -v
|
2016-12-08 08:18:06 +00:00
|
|
|
# See this wiki page for why we're disabling these errors.
|
2016-12-08 09:17:08 +00:00
|
|
|
# https://github.com/dylanaraps/neofetch/wiki/Shellcheck-Exclusions
|
|
|
|
- shellcheck neofetch -e SC1090,SC2009,SC2012,SC2016,SC2034,SC2128,SC2153,SC2154,SC2178
|