language: ruby
sudo: false
dist: trusty
cache: bundler
rvm:
  - 2.0
  - 2.1
  - 2.2
  - 2.3
  - 2.4
  - jruby-head
  - ruby-head
  - jruby-9.1.8.0
  - jruby-head
  - rbx-3
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3
  fast_finish: true

language: ruby
sudo: false
dist: trusty
cache: bundler
rvm:
  - 2.0
  - 2.1
  - 2.2
  - 2.3
  - 2.4
  - jruby-head
  - ruby-head
  - jruby-9.1.8.0
  - jruby-head
  - rbx-3
matrix:
  allow_failures:
    - rvm: ruby-head
    - rvm: jruby-head
    - rvm: rbx-3
  fast_finish: true
script:
  # Unit test
  - bundle exec rake
  # Install test
  - gem build rb-inotify.gemspec
  - gem install rb-inotify-*.gem
  - "gem list | grep rb-inotify"
  - ruby -e 'require "rb-inotify"'

Add install test on Travis
Add install test on Travis
