machine:
  php:
    version: 7.0.4


  environment:
    CIRCLE_ENV: test
    TII_ACCOUNT: 66849
    TII_SECRET: testing1
    TII_APIPRODUCT: 26
    TII_APIBASEURL: https://sandbox.turnitin.com

dependencies:
  pre:
    - sudo apt-get update -y && sudo apt-get install -y php5-curl

test:
  override:
    - >
      mkdir -p $CIRCLE_TEST_REPORTS/reports &&
      ./vendor/bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/reports/junit.xml

experimental:
  notify:
    branches:
      only:
        - master
