mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-24 18:24:31 +01:00
completing travis environment
This commit is contained in:
parent
8603f3f884
commit
406012882b
@ -1,15 +1,14 @@
|
|||||||
before_install:
|
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 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
|
- sudo ./tests/cfg/deploy.sh
|
||||||
|
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "2.7"
|
- "2.7"
|
||||||
- "3.2"
|
# - "3.2"
|
||||||
- "3.3"
|
# - "3.3"
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
install:
|
install:
|
||||||
- pip install -e . --use-mirrors
|
- pip install -e . --use-mirrors
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/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`/ /
|
rsync -a `dirname $0`/ /
|
||||||
cd `dirname $0`/../../
|
cd `dirname $0`/../../
|
||||||
sudo sed -i "s%template_dir.*%template_dir = '`pwd`/resources/templates/'%" /etc/ldapcherry/ldapcherry.ini
|
sudo sed -i "s%template_dir.*%template_dir = '`pwd`/resources/templates/'%" /etc/ldapcherry/ldapcherry.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user