2016-03-26 12:03:25 +11:00
|
|
|
language: bash
|
2016-03-26 12:13:31 +11:00
|
|
|
sudo: required
|
2016-03-26 12:03:25 +11:00
|
|
|
|
2016-03-26 14:32:06 +11:00
|
|
|
os:
|
|
|
|
|
- linux
|
|
|
|
|
- osx
|
|
|
|
|
|
2016-03-27 19:50:09 +11:00
|
|
|
before_install:
|
2016-12-08 20:23:15 +11:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
|
2016-03-27 19:50:09 +11:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install screenresolution; fi
|
|
|
|
|
|
2016-03-26 12:03:25 +11:00
|
|
|
script:
|
2018-05-04 09:35:28 +10:00
|
|
|
- time ./neofetch --travis -v
|
2018-06-03 06:59:24 +10:00
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then shellcheck neofetch; fi
|
2018-05-04 12:01:55 +10:00
|
|
|
# Check for lines longer than 100 chars.
|
2018-06-03 10:22:01 +10:00
|
|
|
- if grep '.\{101\}' neofetch; then (exit 1); else (exit 0); fi
|