travis: force the use of python3.5

python3.5 is the oldest available one on bionic (though refpolicy requires only 3.4)

Also print the python3 (not 2) version during build
This commit is contained in:
Christian Göttsche 2019-10-03 23:27:42 +02:00
parent 324ecfe95c
commit 1fa8caec19
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
# Derived from Nicolas Iooss: https://github.com/fishilico/selinux-refpolicy-patched/blob/travis-upstream/.travis.yml
language: generic
language: python
python: 3.5
matrix:
fast_finish: true
@ -49,7 +50,7 @@ before_install:
- bison -V
- flex -V
- swig -version
- python -V
- python3 -V
install:
- SELINUX_USERSPACE_VERSION=master