Commit 5de01b71 authored by Klaus Purer's avatar Klaus Purer
Browse files

tests(travis): Fix composer.lock not cachable

parent b9145df8
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ cache:
  directories:
    - $HOME/.composer/cache
    - vendor
    - composer.lock

matrix:
  fast_finish: true
@@ -26,10 +25,9 @@ before_install:
  - phpenv config-rm xdebug.ini || echo 'No xdebug config.'

before_script:
  # Run install in case the cached vendor directory is not present.
  # Running composer install without a lock file will also update cached
  # dependencies in vendor.
  - composer install
  # Always run tests with up to date dependencies.
  - composer update

script:
  - ./vendor/bin/phpunit