LoginSignup
6
6

More than 5 years have passed since last update.

CircleCIのテストでRedisを使う

Last updated at Posted at 2017-01-09

CircleCIのデフォルトイメージ(Ubuntu 14.04)では、Redisはインストールされているが起動していない状態。circle.ymlに以下を追加すれば、テストでRedisを使うことができる。

circle.yml
machine:
  environment:
    REDIS_URL: redis://localhost:6379
test:
  pre:
    - sudo service redis-server start
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6