Add Docker and Travis config files to enable CI tests

Also fixes some Rails 6.0 deprecation warnings
This commit is contained in:
Albert Yi
2018-05-01 15:24:24 -07:00
parent fee9acc8a7
commit 79ea6f7e6c
18 changed files with 138 additions and 58 deletions

View File

@@ -0,0 +1,9 @@
# This sets up a docker container suitable for use with Travis CI
FROM r888888888/danbooru-base
USER root
COPY . /app
RUN chown -R danbooru:danbooru .
USER danbooru
RUN bundle install > /dev/null