File tree Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Expand file tree Collapse file tree 3 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 11#! /bin/sh -ex
22
3+ pip install --install-option=' --no-cython-compile' cython
4+ pip install -r test-requirements.txt
5+
36sudo sed -i ' 1i 127.0.0.1 test.box' /etc/hosts
47sudo hostname test.box
58
6- if [ x" $KRB5_VER " != " x1.10" ]; then
9+ if [ x" $KRB5_VER " = " xheimdal" ]; then
10+ sudo apt-get update
11+ DEBIAN_FRONTEND=noninteractive sudo apt-get -y install heimdal-dev
12+ exit 0
13+ elif [ x" $KRB5_VER " != " x1.10" ]; then
714 sudo apt-add-repository -y ppa:sssd/updates
815
916 if [ x" $KRB5_VER " != " x1.12" ]; then
1017 sudo apt-add-repository -y ppa:rharwood/krb5-$KRB5_VER
1118 fi
1219fi
1320
14- sudo apt-get update -q
21+ sudo apt-get update
1522DEBIAN_FRONTEND=noninteractive sudo apt-get install -y krb5-user krb5-kdc krb5-admin-server libkrb5-dev krb5-multidev
1623DEBIAN_FRONTEND=noninteractive sudo apt-get -y install krb5-greet-client || true
17- pip install --install-option=' --no-cython-compile' cython
18- pip install -r test-requirements.txt
Original file line number Diff line number Diff line change 1- #! /bin/sh
1+ #! /bin/sh -x
2+
3+ if [ x" $KRB5_VER " = " xheimdal" ]; then
4+ python setup.py build_ext --inplace
5+ exit $?
6+ fi
27
38flake8 setup.py
49F8_SETUP=$?
Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ matrix:
1616 include :
1717 - python : " 3.3"
1818 env : KRB5_VER="1.12"
19+ - python : " 2.7"
20+ env : KRB5_VER="heimdal"
1921
20- install : sh .travis.install.sh
22+ install : sh -ex .travis.install.sh
2123
22- script : sh .travis.sh
24+ script : sh -x .travis.sh
2325
2426before_deploy : sh .travis.before-deploy.sh
2527deploy :
You can’t perform that action at this time.
0 commit comments