diff --git a/.tests/.lib.sh b/.tests/.lib.sh index 9c1f4709..afd2b99e 100644 --- a/.tests/.lib.sh +++ b/.tests/.lib.sh @@ -222,18 +222,6 @@ devilbox_start() { enable_docker_postgres "${_pysql}" enable_docker_php "${_php}" - # Stop existing dockers - cd "${DEVILBOX_PATH}" || exit 1 - docker-compose down || true - docker-compose stop || true - docker-compose kill || true - docker-compose rm -f || true - - # Delete existing data dirs - rm -rf "$( get_default_mount_httpd )" - rm -rf "$( get_default_mount_mysql )" - rm -rf "$( get_default_mount_postgres )" - # Run docker-compose up -d @@ -259,7 +247,7 @@ devilbox_stop() { docker-compose rm -f || true # Delete existing data dirs - rm -rf "$( get_default_mount_httpd )" - rm -rf "$( get_default_mount_mysql )" - rm -rf "$( get_default_mount_postgres )" + sudo rm -rf "$( get_default_mount_httpd )" + sudo rm -rf "$( get_default_mount_mysql )" + sudo rm -rf "$( get_default_mount_postgres )" } diff --git a/.travis.yml b/.travis.yml index 49b12eee..e2342aa5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: python +sudo: required python: - 2.7 @@ -24,6 +25,7 @@ before_install: # List versions - docker version - docker-compose version + - whoami ### ### Install