summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ff52bcc
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,16 @@
+language: ruby
+cache: bundler
+rvm:
+ - 2.4
+ - 2.5
+
+gemfiles:
+ - Gemfile
+
+branches:
+ only:
+ - master
+
+script:
+ - bundle exec rubocop
+ - bundle exec rake test RAILS_ENV=test