Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit fd0690e

Browse files
[travis] Build against Heimdal without running tests
1 parent 736521d commit fd0690e

File tree

3 files changed

+19
-7
lines changed

3 files changed

+19
-7
lines changed

‎.travis.install.sh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
#!/bin/sh -ex
22

3+
pip install --install-option='--no-cython-compile' cython
4+
pip install -r test-requirements.txt
5+
36
sudo sed -i '1i 127.0.0.1 test.box' /etc/hosts
47
sudo 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
1219
fi
1320

14-
sudo apt-get update -q
21+
sudo apt-get update
1522
DEBIAN_FRONTEND=noninteractive sudo apt-get install -y krb5-user krb5-kdc krb5-admin-server libkrb5-dev krb5-multidev
1623
DEBIAN_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

‎.travis.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
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

38
flake8 setup.py
49
F8_SETUP=$?

‎.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

2426
before_deploy: sh .travis.before-deploy.sh
2527
deploy:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /