# CircleCI Build yaml
# Define VM
machine:
  # Timezone
  timezone: America/Los_Angeles

# Dependencies needed by run-all.sh
dependencies:
  override:
    - sudo apt-get update; sudo apt-get install realpath wget
    - wget https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 &&
      mv cloud_sql_proxy.linux.amd64 $HOME/cloud_sql_proxy &&
      chmod +x $HOME/cloud_sql_proxy
    - sudo mkdir /cloudsql && sudo chmod 0777 /cloudsql

# Test
test:
  override:
    # Ruby 2.3.4
    - rvm-exec 2.3.4 ./spec/run-all.sh
    # Ruby 2.4.1
    - rvm-exec 2.4.1 ./spec/run-all.sh


# CircleCI Build yaml
# Define VM
machine:
  # Timezone
  timezone: America/Los_Angeles

# Dependencies needed by run-all.sh
dependencies:
  override:
    - sudo apt-get update; sudo apt-get install realpath wget
    - wget https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 &&
      mv cloud_sql_proxy.linux.amd64 $HOME/cloud_sql_proxy &&
      chmod +x $HOME/cloud_sql_proxy
    - sudo mkdir /cloudsql && sudo chmod 0777 /cloudsql

# Test
test:
  override:
    # Ruby 2.2.8
    - rvm-exec 2.2.8 ./spec/run-all.sh
    # Ruby 2.3.5
    - rvm-exec 2.3.5 ./spec/run-all.sh
    # Ruby 2.4.2
    - rvm-exec 2.4.2 ./spec/run-all.sh
    # Ruby 2.5
    - rvm-exec 2.5.0-preview1 ./spec/run-all.sh



Test other versions of Ruby (2.2.8, 2.3.5, 2.4.2, 2.5.0-preview)
Test other versions of Ruby (2.2.8, 2.3.5, 2.4.2, 2.5.0-preview)
