takashyx/slackboard

View on GitHub
circle.yml

Summary

Maintainability
Test Coverage
machine:
  timezone:
    Asia/Tokyo
  ruby:
    version: 2.2.3

dependencies:
  pre:
    - sudo pip install awscli
    - sudo apt-get remove mecab
    - sudo apt-get install python-dev
  override:
    - bash circle/install_mecab.sh
    - bundle install: # note ':' here
        timeout: 300 # fail if command has no output for 3 minutes
  cache_directories:
    - "~/tmp"
    - "vendor/bundle"

deployment:
  staging:
    branch: master
    commands:
      - bundle exec cap staging deploy

  production:
    branch: master
    commands:
      - bundle exec cap staging deploy