Add model to travis test mode

This commit is contained in:
Dylan Araps 2016-08-14 14:16:25 +10:00
parent e82b1dd5c0
commit f805623171

View file

@ -45,6 +45,7 @@ getmodel() {
model="${model/To Be Filled*}" model="${model/To Be Filled*}"
;; ;;
"Mac OS X") model="$(sysctl -n hw.model)" ;;
"iPhone OS") "iPhone OS")
case "${ios_model:-$(uname -m)}" in case "${ios_model:-$(uname -m)}" in
"iPad1,1") model="iPad" ;; "iPad1,1") model="iPad" ;;
@ -82,8 +83,6 @@ getmodel() {
"ipod7,1") model="iPod touch 6G" ;; "ipod7,1") model="iPod touch 6G" ;;
esac esac
;; ;;
"Mac OS X") model="$(sysctl -n hw.model)" ;;
esac esac
} }
@ -3018,7 +3017,7 @@ getargs() {
esac esac
;; ;;
--test) --test)
info=(title underline distro kernel uptime packages shell resolution de wm wmtheme theme icons cpu cpu_usage gpu memory font disk battery song localip publicip users birthday term termfont) info=(title underline model distro kernel uptime packages shell resolution de wm wmtheme theme icons cpu cpu_usage gpu memory font disk battery song localip publicip users birthday term termfont)
refresh_rate="on" refresh_rate="on"
shell_version="on" shell_version="on"