From bac854a73d864a1107434a3c8f7c42bb96bbf75b Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev Date: Sat, 12 Nov 2016 17:38:28 +0700 Subject: [PATCH] sudo for chmod --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b89f9ab..95e559f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,12 @@ php: cache: directories: - vendor +sudo: required before_script: - composer install --prefer-dist - phpenv config-rm xdebug.ini - - chmod -R +w `pwd`/application/logs - - chmod -R +w `pwd`/application/cache + - sudo chmod -R +w `pwd`/application/logs + - sudo chmod -R +w `pwd`/application/cache # install CodeSniffer for Kohana Coding Standards checks # - git clone https://github.com/squizlabs/PHP_CodeSniffer.git php-codesniffer --depth=1 # Install Kohana Coding Standards