ldapcherry/.travis.yml

30 lines
794 B
YAML

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 rm /etc/dpkg/dpkg.cfg.d/multiarch
- sudo ./tests/test_env/deploy.sh
language: python
python:
- "2.7"
# - "3.2"
# - "3.3"
# command to install dependencies
install:
- pip install -e . --use-mirrors
- pip install passlib
- pip install coveralls
# command to run tests
script:
- coverage run --source=ldapcherry setup.py test
after_success:
- coveralls
after_failure:
- sudo cat /var/log/syslog