language: php

services:
  - postgresql

php:
  - 7.1

sudo: false

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

before_install:
  - phpenv config-rm xdebug.ini

install:
  - COMPOSER_DISCARD_CHANGES=1 composer install --dev --prefer-source --no-interaction

before_script:
  - psql -c 'create database judite_testing;' -U postgres
  - php artisan migrate
  - nvm install --lts
  - npm install -g yarn
  - yarn install

script:
  - composer ci-test
  - composer ci-lint
  - npm run production

language: php

services:
  - postgresql

php:
  - 7.1

sudo: false

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

#before_install:
#  - phpenv config-rm xdebug.ini

install:
  - COMPOSER_DISCARD_CHANGES=1 composer install --dev --prefer-source --no-interaction

before_script:
  - psql -c 'create database judite_testing;' -U postgres
  - php artisan migrate
  - nvm install --lts
  - npm install -g yarn
  - yarn install

script:
  - composer ci-test
  - composer ci-lint
  - npm run production

Enable xdebug on Travis CI
Enable xdebug on Travis CI
