2018-12-29 16:32:19 +01:00
|
|
|
conditions: v1
|
|
|
|
|
|
|
|
if: branch = master OR tag IS present
|
|
|
|
|
2017-06-29 19:14:41 +02:00
|
|
|
language:
|
|
|
|
ruby
|
|
|
|
|
2018-07-10 22:43:39 +02:00
|
|
|
cache:
|
|
|
|
bundler
|
|
|
|
|
2017-06-29 19:14:41 +02:00
|
|
|
rvm:
|
2018-10-20 14:10:25 +02:00
|
|
|
- '2.4'
|
|
|
|
- '2.5'
|
2018-12-29 16:37:46 +01:00
|
|
|
- '2.6'
|
2020-01-07 22:06:47 +01:00
|
|
|
- '2.7'
|
2017-06-29 19:14:41 +02:00
|
|
|
|
2019-01-04 11:30:18 +01:00
|
|
|
before_install:
|
|
|
|
- gem --version
|
|
|
|
- gem install bundler -v '~> 2'
|
|
|
|
|
2017-06-29 19:14:41 +02:00
|
|
|
script:
|
|
|
|
- bundle exec rubocop
|
2018-12-09 10:17:37 +01:00
|
|
|
- bundle exec rake spec
|
2018-07-10 22:51:17 +02:00
|
|
|
- bundle exec rake install
|
|
|
|
- bundle binstubs colorls
|
|
|
|
- PATH=$PWD/bin:$PATH
|
2017-07-07 16:55:38 +02:00
|
|
|
- colorls
|
2017-07-12 18:45:12 +02:00
|
|
|
- colorls -1
|
2017-07-07 18:28:10 +02:00
|
|
|
- colorls -a
|
2017-07-11 12:38:29 +02:00
|
|
|
- colorls -A
|
2017-07-07 16:55:38 +02:00
|
|
|
- colorls -d
|
|
|
|
- colorls -f
|
2017-07-12 18:45:12 +02:00
|
|
|
- colorls -l
|
2017-07-12 18:46:22 +02:00
|
|
|
- colorls -l spec/fixtures/symlinks
|
2017-08-17 19:29:13 +02:00
|
|
|
- ( cd spec/fixtures ; colorls .hidden-file ) | fgrep '.hidden-file'
|
2017-07-27 13:17:25 +02:00
|
|
|
- colorls -l README.md
|
2017-07-12 18:45:12 +02:00
|
|
|
- colorls -r
|
2017-10-07 13:58:13 +02:00
|
|
|
- colorls --sd
|
|
|
|
- colorls --sf
|
2018-08-17 22:52:13 +02:00
|
|
|
- colorls --hyperlink
|
2017-07-12 18:45:12 +02:00
|
|
|
- colorls -t
|
2017-10-27 12:26:54 +02:00
|
|
|
- colorls --sort=time
|
|
|
|
- colorls -U
|
|
|
|
- colorls --sort=none
|
2017-10-31 16:17:13 +01:00
|
|
|
- colorls -S
|
|
|
|
- colorls --sort=size
|
2017-08-16 04:09:02 +02:00
|
|
|
- colorls -h
|
2017-10-07 13:58:13 +02:00
|
|
|
- colorls --gs
|
2017-07-12 16:45:23 +02:00
|
|
|
- colorls spec/fixtures/symlinks
|
2017-07-10 13:59:34 +02:00
|
|
|
- colorls README.md
|
|
|
|
- colorls *
|
2017-07-11 06:30:25 +02:00
|
|
|
- colorls | grep /
|
2018-10-19 23:37:30 +02:00
|
|
|
- colorls --color
|
|
|
|
- colorls --color=auto
|
|
|
|
- colorls --color=never
|
|
|
|
- colorls --color=always
|
2019-01-11 07:36:02 +01:00
|
|
|
- colorls --tree
|
|
|
|
- colorls --tree=1
|
2017-06-29 19:14:41 +02:00
|
|
|
|
2019-02-26 21:42:09 +01:00
|
|
|
deploy:
|
|
|
|
provider: rubygems
|
|
|
|
api_key:
|
|
|
|
secure: iHo85pvy3iIp0/r8mbP0q0VPCFyYcwaQb19YUxwIGbMrksswIJPe2bsdAQTvd1fU3U+uwAgyzfaLMWgY6T1evVjv5GGXW0zmNthgWuaCbTBmzx3q6OPV6zJLsinKSJ4xbKjmTOi6BIhXTtc09dRRNp1d9U8HtmM9KyvD5ORm5M9W0/WxP3+8oOe0/yl3DOVNgCQ0j64KEqowLlfdJXe2q5iSUkZEvf+o5F6pz0g7dFiVHPVpJbZ9sOchPzYNMjLCx4jPt42J806oAH7TMeRC4lFpKgJr9U05LRGb22jiokHH6gl17RpuGRYJIexWkf3jb5iy9bivT2S2fGo9/BBKO5BvQAaL7McCwpdKM2QEyVy7RVbUz5D8vfXkJNIJankQj3Ikuz7qYyDglucGCpSGjecNCqL61NoBag7ORJ0RMWg7zklKjR59zeT4oks8rByx688y5Oi4f9Z98SPfc9NIJbHxbrDHtr13gm509cEXxwOLuVePa9J+mDGq2Uawi/PuIon1x2ztHUgvTx0DSYtwv96HzXet8QqXHwRKKjddxEApvCvGvaJV3akeUVjcsyei892ajHP6CffaKazPtogotfsu68g8WmKFWHFRkdmS6NIqg7MrnMRCjDkxAoQYYzt6cl95aBk4G7CTbjtXgIct1LGMM/WjE6K/jpeF0YLsVR4=
|
|
|
|
gem: colorls
|
|
|
|
on:
|
2019-04-09 20:04:39 +02:00
|
|
|
all_branches: true
|
|
|
|
condition: $TRAVIS_BRANCH = master || $TRAVIS_TAG =~ ^v[0-9][.]
|
2019-02-26 21:42:09 +01:00
|
|
|
repo: athityakumar/colorls
|
|
|
|
rvm: '2.6'
|
|
|
|
os: linux
|