diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..cd3826e --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +cache: bundler +sudo: false +matrix: + fast_finish: true +branches: + only: master +rvm: + - 1.9.3 + - 2.0.0 + - 2.1.0 + - 2.2.0 + - 2.3.0 + - 2.4.0 +script: bundle exec rake diff --git a/README.md b/README.md index 918119e..b17568e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# has-bit-field +# has-bit-field [![Build Status](https://travis-ci.org/pjb3/has-bit-field.svg?branch=master)](https://travis-ci.org/pjb3/has-bit-field) has-bit-field allows you to use one attribute of an object to store a bit field which stores the boolean state for multiple flags. Requires Rails 3.0 or greater.