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