Skip to content

Commit 468a3dd

Browse files
committed
.travis.yml: install pytest for tests, don't use explicit version
1 parent 6fe0aeb commit 468a3dd

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ before_install:
55
- "sudo apt-get update -qq"
66
install:
77
- "sudo apt-get install -y intltool xmlto desktop-file-utils libcups2-dev"
8+
- "pip install pytest"
89
script: ./bootstrap && ./configure && make && make check && make distcheck
910
notifications:
1011
email: false

Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ test-xml-validity.sh: FORCE
388388

389389
py.test.sh: FORCE
390390
echo "#!/bin/bash" > "$@"
391-
echo "exec py.test-3.4" >> "$@"
391+
echo "exec ${PYTEST-py.test}" >> "$@"
392392
chmod 755 "$@"
393393

394394
TESTS = test-xml-validity.sh py.test.sh

0 commit comments

Comments
 (0)