haanhduclinh/s3-to-ftp

View on GitHub
circle.yml

Summary

Maintainability
Test Coverage
## Customize the test machine
machine:

  timezone:
    Asia/Ho_Chi_Minh

  # Version of ruby to use
  ruby:
    version:
      2.3.4

  # Override /etc/hosts
  hosts:
    circlehost: 127.0.0.1

  # Add some environment variables
  environment:
    ENV: test

## Customize dependencies
dependencies:
  pre:
    - gem install bundler --pre
    - gem install fakes3
    - mkdir ~/fakes3
    - fakes3 -r ~/fakes3 -p 4567:
        background: true
  override:
    - bundle install: # note ':' here
        timeout: 180 # fail if command has no output for 3 minutes

## Customize test commands
test:
  override:
    - ruby test/lib/test_aws_s3.rb
    - ruby test/lib/test_main.rb
    - ruby test/lib/test_csv_map.rb
    - ruby test/lib/test_ftp.rb
    - rubocop