2018-04-05 21:24:12 +02:00
|
|
|
sudo: required
|
2019-05-14 15:47:02 +02:00
|
|
|
dist: xenial
|
2018-04-13 15:27:52 +02:00
|
|
|
language: python
|
2019-05-14 15:47:02 +02:00
|
|
|
python:
|
|
|
|
- "3.4"
|
|
|
|
- "3.6"
|
|
|
|
- "3.7"
|
|
|
|
- "3.8-dev"
|
2018-04-05 21:24:12 +02:00
|
|
|
|
2018-04-07 16:30:31 +02:00
|
|
|
script:
|
2018-04-13 15:27:52 +02:00
|
|
|
# Build the binary (.deb)
|
|
|
|
- debuild -i -us -uc -b
|
2018-11-09 12:43:10 +01:00
|
|
|
# Install the binary, running the debian scripts in the process
|
2018-04-13 15:27:52 +02:00
|
|
|
- sudo apt install ../*.deb -y
|
2018-11-09 18:53:31 +01:00
|
|
|
|
2018-11-21 11:58:29 +01:00
|
|
|
# Go through function tests
|
2018-11-19 18:36:35 +01:00
|
|
|
- ./tests/importing.sh
|
|
|
|
- ./tests/passthrough.sh
|
2019-01-03 14:35:07 +01:00
|
|
|
# Skip PAM integration tests for now because of broken pamtester
|
|
|
|
# - ./tests/pam.sh
|
2018-11-21 11:58:29 +01:00
|
|
|
- ./tests/compare.sh
|
2018-11-09 19:39:16 +01:00
|
|
|
|
2018-04-13 15:27:52 +02:00
|
|
|
# Remove howdy from the installation
|
|
|
|
- sudo apt purge howdy -y
|
2018-04-05 21:24:12 +02:00
|
|
|
|
|
|
|
notifications:
|
2018-04-13 14:54:06 +02:00
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: always
|
2018-05-10 15:20:29 +02:00
|
|
|
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
update: true
|
2018-11-09 12:43:10 +01:00
|
|
|
packages:
|
|
|
|
- dh-make
|
|
|
|
- ack-grep
|
2018-11-09 15:30:33 +01:00
|
|
|
- devscripts
|
2018-11-09 15:38:29 +01:00
|
|
|
- fakeroot
|
2018-11-21 11:58:29 +01:00
|
|
|
- pamtester
|