mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-21 17:04:21 +01:00
trying to build travis env
This commit is contained in:
parent
c7c12cac92
commit
ee328537ab
@ -1,10 +1,13 @@
|
||||
env:
|
||||
- TRAVIS="yes"
|
||||
|
||||
before_install:
|
||||
- curl https://ftp-master.debian.org/keys/archive-key-7.0.asc | sudo apt-key add -
|
||||
- echo "deb http://http.debian.net/debian wheezy-backports main" | sudo tee -a /etc/apt/sources.list
|
||||
- echo "deb http://http.debian.net/debian wheezy main" | sudo tee -a /etc/apt/sources.list
|
||||
- sudo /sbin/ifconfig
|
||||
- sudo apt-get update -qq
|
||||
- sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y ; true
|
||||
- sudo rm /etc/dpkg/dpkg.cfg.d/multiarch
|
||||
- sudo ./tests/cfg/deploy.sh
|
||||
|
||||
language: python
|
||||
|
@ -1,8 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
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 lsb-base libattr1 -t wheezy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install samba python-samba samba-vfs-modules -t wheezy-backports -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
if ! [ -z "$TRAVIS" ]
|
||||
then
|
||||
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 lsb-base libattr1 -t wheezy -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install samba python-samba samba-vfs-modules -t wheezy-backports -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
else
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install ldap-utils slapd samba python-samba samba-vfs-modules -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -f -q -y
|
||||
fi
|
||||
|
||||
rsync -a `dirname $0`/ /
|
||||
cd `dirname $0`/../../
|
||||
|
Loading…
Reference in New Issue
Block a user