0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-19 09:51:19 +02:00
howdy/.travis.yml
2018-11-09 21:09:59 +01:00

36 lines
970 B
YAML

sudo: required
language: python
python: "3.6"
script:
# Build the binary (.deb)
- debuild -i -us -uc -b
# Install the binary, running the debian scripts in the process
- sudo apt install ../*.deb -y
# Confirm the cv2 module has been installed correctly
- sudo /usr/bin/env python3 -c "import cv2; print(cv2.__version__);"
# Confirm the face_recognition module has been installed correctly
- sudo /usr/bin/env python3 -c "import face_recognition; print(face_recognition.__version__);"
# Check if the username passthough works correctly with sudo
- 'howdy | ack-grep --passthru --color "current active user: travis"'
- 'sudo howdy | ack-grep --passthru --color "current active user: travis"'
# Remove howdy from the installation
- sudo apt purge howdy -y
notifications:
email:
on_success: never
on_failure: always
addons:
apt:
update: true
packages:
- dh-make
- ack-grep
- devscripts
- fakeroot