Skip to content

Commit

Permalink
Travis config: redis v7
Browse files Browse the repository at this point in the history
  • Loading branch information
jcraigk committed Jul 31, 2023
1 parent 54049e3 commit 07154c3
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ addons:
update: true
packages:
- postgresql-13
- redis-tools
- redis-server
env:
global:
- PGUSER=postgres
Expand All @@ -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
Expand Down

0 comments on commit 07154c3

Please sign in to comment.