hyfetch/.travis.yml

17 lines
470 B
YAML
Raw Normal View History

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-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:
2018-05-03 17:35:28 -06:00
- time ./neofetch --travis -v
2019-01-04 12:22:41 -07:00
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck -e SC2244 -e SC2243 neofetch; fi
# Check for lines longer than 100 chars.
2018-06-03 16:41:23 -06:00
- if grep '.\{102\}' neofetch; then (exit 1); else (exit 0); fi