More travis fixes

This commit is contained in:
Dylan Araps 2016-08-12 10:33:21 +10:00
parent f5f56f74da
commit 800870f21b
2 changed files with 6 additions and 2 deletions

View file

@ -11,6 +11,6 @@ before_install:
script: script:
- sudo make install - sudo make install
- time neofetch --test --ascii --config off --ascii_distro travis -v \ - time neofetch --ascii --config off --ascii_distro travis -v \
--refresh_rate "on" --shell_version "on" --cpu_display "infobar" \ --refresh_rate "on" --shell_version "on" --cpu_display "infobar" \
--memory_display "infobar" --disk_display "infobar" --memory_display "infobar" --disk_display "infobar" --test

View file

@ -2935,6 +2935,10 @@ while [ "$1" ]; do
info linebreak info linebreak
printf "%b%s" "\033[$(tput lines)H" printf "%b%s" "\033[$(tput lines)H"
} }
# Set the test func to readonly so a config source
# doesn't overwrite it.
readonly -f printinfo
;; ;;
-v) verbose="on" ;; -v) verbose="on" ;;