andsens / homeshick

git dotfiles synchronizer written in bash
MIT License
2.11k stars 145 forks source link

Make Travis build with bats, csh and fish #172

Closed herrbischoff closed 6 years ago

herrbischoff commented 6 years ago

The problem was bats, as Debian package sources were mixed with those of Ubuntu because of a missing bats package in Ubuntu. That doesn't work. The issue is fixed by installing bats from source.

Since Ubuntu uses comparatively old versions of packages, fish is added in as a Launchpad repo. This way, the newest fish version is tested.

csh is another interesting bit. On most Unix systems (except Linux) csh is replaced/symlinked to tcsh by default and on Linux actually creates a csh symlink when installing tcsh. This is the one you want, as plain csh is horribly incompatible with practically everything and won't work with the testing script. tcsh does.

Also interesting: http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/

andsens commented 6 years ago

whoa. Awesome @herrbischoff. Nicely done, that issue was really irking me.

p.s.: I just realized, I can actually just change the branch myself :-) I'll wait till you get back though.

herrbischoff commented 6 years ago

Glad I could help! Now off I go, will be back in a couple of hours...