colorls/.travis.yml
Claudio Bley 73e4de9378 Use ASCII_8BIT for paths and directory entries
On Unix systems the encoding of file names is specified by the user via the
locale settings.

In order to avoid encoding problems simply read file names in ASCII 8 bit
encoding and try to convert to the external encoding while replacing undefined
characters.

Also, does not show an icon if the external encoding does not support it and
shows a `=` instead of a check mark for git status.

Fixes #352.
2020-04-16 21:58:39 +02:00

72 lines
2 KiB
YAML

conditions: v1
if: branch = master OR tag IS present
language:
ruby
cache:
bundler
rvm:
- '2.4'
- '2.5'
- '2.6'
- '2.7'
before_install:
- gem --version
- gem install bundler -v '~> 2'
script:
- bundle exec rubocop
- bundle exec rake spec
- bundle exec rake install
- bundle binstubs colorls
- PATH=$PWD/bin:$PATH
- colorls
- colorls -1
- colorls -a
- colorls -A
- colorls -d
- colorls -f
- colorls -l
- colorls -l spec/fixtures/symlinks
- ( cd spec/fixtures ; colorls .hidden-file ) | fgrep '.hidden-file'
- colorls -l README.md
- colorls -r
- colorls --sd
- colorls --sf
- colorls --hyperlink
- colorls -t
- colorls --sort=time
- colorls -U
- colorls --sort=none
- colorls -S
- colorls --sort=size
- colorls -h
- colorls --gs
- colorls spec/fixtures/symlinks
- colorls README.md
- colorls *
- colorls | grep /
- colorls --color
- colorls --color=auto
- colorls --color=never
- colorls --color=always
- colorls --tree
- colorls --tree=1
- LC_ALL=C colorls spec/fixtures/
- LC_ALL=C colorls --git spec/fixtures/
deploy:
provider: rubygems
api_key:
secure: iHo85pvy3iIp0/r8mbP0q0VPCFyYcwaQb19YUxwIGbMrksswIJPe2bsdAQTvd1fU3U+uwAgyzfaLMWgY6T1evVjv5GGXW0zmNthgWuaCbTBmzx3q6OPV6zJLsinKSJ4xbKjmTOi6BIhXTtc09dRRNp1d9U8HtmM9KyvD5ORm5M9W0/WxP3+8oOe0/yl3DOVNgCQ0j64KEqowLlfdJXe2q5iSUkZEvf+o5F6pz0g7dFiVHPVpJbZ9sOchPzYNMjLCx4jPt42J806oAH7TMeRC4lFpKgJr9U05LRGb22jiokHH6gl17RpuGRYJIexWkf3jb5iy9bivT2S2fGo9/BBKO5BvQAaL7McCwpdKM2QEyVy7RVbUz5D8vfXkJNIJankQj3Ikuz7qYyDglucGCpSGjecNCqL61NoBag7ORJ0RMWg7zklKjR59zeT4oks8rByx688y5Oi4f9Z98SPfc9NIJbHxbrDHtr13gm509cEXxwOLuVePa9J+mDGq2Uawi/PuIon1x2ztHUgvTx0DSYtwv96HzXet8QqXHwRKKjddxEApvCvGvaJV3akeUVjcsyei892ajHP6CffaKazPtogotfsu68g8WmKFWHFRkdmS6NIqg7MrnMRCjDkxAoQYYzt6cl95aBk4G7CTbjtXgIct1LGMM/WjE6K/jpeF0YLsVR4=
gem: colorls
on:
all_branches: true
condition: $TRAVIS_BRANCH = master || $TRAVIS_TAG =~ ^v[0-9][.]
repo: athityakumar/colorls
rvm: '2.6'
os: linux