## Customize the test machine
machine:

  timezone:
    Asia/Dubai # Set the timezone

  # Version of ruby to use
  ruby:
    version:
      2.2.0

  # Override /etc/hosts
  hosts:
    circlehost: 127.0.0.1
    dev.abhishekpareek.io: 127.0.0.1

## Customize dependencies
dependencies:
  pre:
    - gem install bundler
    - sudo pip install iso8601 pycurl 
    - script/fetch-gists-convert-to-jekyll-md-format.py

  override:
    - bundle install: # note ':' here
        timeout: 180 # fail if command has no output for 3 minutes

  # we automatically cache and restore many dependencies between
  # builds. If you need to, you can add custom paths to cache:
  cache_directories:
    - "custom_1"   # relative to the build directory
    - "~/custom_2" # relative to the user's home directory

## Customize test commands
test:
  override:
    - script/cibuild 

deployment:
    aws:
    branch: master
        commands:
        - script/publish.sh

## Custom notifications
#notify:
  #webhooks:
    # A list of hashes representing hooks. Only the url field is supported.
    # - url: https://someurl.com/hooks/circle

## Customize the test machine
machine:

  timezone:
    Asia/Dubai # Set the timezone

  # Version of ruby to use
  ruby:
    version:
      2.2.0

  # Override /etc/hosts
  hosts:
    circlehost: 127.0.0.1
    dev.abhishekpareek.io: 127.0.0.1

## Customize dependencies
dependencies:
  pre:
    - gem install bundler
    - sudo pip install iso8601 pycurl 
    - script/fetch-gists-convert-to-jekyll-md-format.py

  override:
    - bundle install: # note ':' here
        timeout: 180 # fail if command has no output for 3 minutes

  # we automatically cache and restore many dependencies between
  # builds. If you need to, you can add custom paths to cache:
  cache_directories:
    - "custom_1"   # relative to the build directory
    - "~/custom_2" # relative to the user's home directory

## Customize test commands
test:
  override:
    - script/cibuild 

deployment:
    aws:
    branch: master
        commands: 
        - script/publish.sh

## Custom notifications
#notify:
  #webhooks:
    # A list of hashes representing hooks. Only the url field is supported.
    # - url: https://someurl.com/hooks/circle

Add aws s3 publish script
Add aws s3 publish script
