1
0
mirror of https://github.com/kakwa/ldapcherry synced 2024-12-25 06:10:03 +01:00

completing travis environment

This commit is contained in:
pcarpent 2015-04-14 16:25:48 +02:00
parent 8603f3f884
commit 406012882b
2 changed files with 9 additions and 5 deletions

View File

@ -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

View File

@ -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