language: php

sudo: false

cache:
  directories:
      - $HOME/.composer/cache

php:
    - '7.0'

before_install:
    - phpenv config-rm xdebug.ini
    - phpunit --self-update
    - npm install -g swagger-cli

install:
    - composer update --no-interaction --prefer-dist

script:
    - vendor/bin/phpunit
    - vendor/bin/behat
    - tests/Fixtures/app/console api:swagger:export > swagger.json && swagger validate swagger.json && rm swagger.json

language: php

sudo: false

cache:
  directories:
    - $HOME/.composer/cache

php:
  - '7.0'

before_install:
  - phpenv config-rm xdebug.ini
  - phpunit --self-update
  - npm install -g swagger-cli

install:
  - composer update --no-interaction --prefer-dist

script:
  - vendor/bin/phpunit
  - vendor/bin/behat
  - tests/Fixtures/app/console api:swagger:export > swagger.json && swagger validate swagger.json && rm swagger.json

Fix indentation in Travis CI config
Fix indentation in Travis CI config
