From 173e8ef1644321378ea3de67503836a988dcb247 Mon Sep 17 00:00:00 2001 From: jgen Date: Mon, 17 Feb 2014 20:11:26 -0500 Subject: [PATCH] These commands need to be done as root. --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index f8424d4e..c3bbf965 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,9 +15,9 @@ before_install: install: - sudo apt-get install -y nginx --fix-missing - sudo apt-get install -y php5-fpm php5-mysql --fix-missing - - cp tests/travis_nginx.conf /etc/nginx/nginx.conf - - /etc/init.d/nginx restart - - /etc/init.d/php5-fpm restart + - sudo cp tests/travis_nginx.conf /etc/nginx/nginx.conf + - sudo /etc/init.d/nginx restart + - sudo /etc/init.d/php5-fpm restart # execute any number of scripts before the test run, custom env's are available as variables before_script: