colorls/.travis.yml
Claudio Bley 2df30f7f33 Add support for sorting by mtime
* add `--sort=WORD` option, which sorts by modification "time" or not at all

* add short option `-U` to mean `--sort=none` (`ls` compatibility)

* `-t` now has the same effect as `--sort=time` which is also mentioned in the
  post install mesage

* add checks for `--sort=time` and `--sort=none` to .travis.yml
2017-11-06 08:42:02 +01:00

40 lines
679 B
YAML

language:
ruby
rvm:
- '2.1'
- '2.2'
- '2.3.0'
- '2.4.0'
script:
- bundle exec rubocop
- bundle exec rspec
- rake install
- 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 -t
- colorls --sort=time
- colorls -U
- colorls --sort=none
- colorls -h
- colorls --gs
- colorls spec/fixtures/symlinks
- colorls README.md
- colorls *
- colorls | grep /
install:
- gem install bundler
- bundle install