diff --git a/.travis.yml b/.travis.yml index e26934a..71f8fba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,6 +14,8 @@ addons: update: true packages: - postgresql-13 + - redis-tools + - redis-server env: global: - PGUSER=postgres @@ -27,6 +29,15 @@ before_install: - psql -c 'create database kudochest_test;' -U postgres - gem update --system --no-document - gem install bundler --no-document + - sudo service redis-server stop + - mkdir -p vendor/redis + - wget http://download.redis.io/releases/redis-7.0.0.tar.gz + - tar xzf redis-7.0.0.tar.gz -C vendor/redis --strip-components=1 + - cd vendor/redis + - make + - sudo make install + - nohup redis-server & + - cd ../.. install: bundle install before_script: - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter