diff --git a/.travis.yml b/.travis.yml index d1a9966..4acaf92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,14 @@ before_install: + - curl http://mirror.ovh.net/debian/dists/wheezy-backports/Release.gpg | sudo apt-key add - + - echo "deb http://http.debian.net/debian wheezy-backports main" | sudo tee -a /etc/apt/sources.list - sudo apt-get update -qq - - sudo apt-get install ldap-utils - - sudo apt-get install python-ldap - - sudo DEBIAN_FRONTEND=noninteractive apt-get install slapd -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y - sudo ./tests/cfg/deploy.sh language: python python: - "2.7" - - "3.2" - - "3.3" +# - "3.2" +# - "3.3" # command to install dependencies install: - pip install -e . --use-mirrors diff --git a/tests/cfg/deploy.sh b/tests/cfg/deploy.sh index ee35d28..e318f74 100755 --- a/tests/cfg/deploy.sh +++ b/tests/cfg/deploy.sh @@ -1,5 +1,10 @@ #!/bin/sh +apt-get install ldap-utils slapd samba + +DEBIAN_FRONTEND=noninteractive apt-get install ldap-utils slapd -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y +DEBIAN_FRONTEND=noninteractive apt-get install samba python-samba -t wheezy-backports -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y + rsync -a `dirname $0`/ / cd `dirname $0`/../../ sudo sed -i "s%template_dir.*%template_dir = '`pwd`/resources/templates/'%" /etc/ldapcherry/ldapcherry.ini