Add travis.yml

This commit is contained in:
Darko Lukic 2018-04-22 18:40:22 +02:00
parent 31c07254c2
commit be7d2f6754
2 changed files with 10 additions and 0 deletions

6
.travis.yml Normal file
View file

@ -0,0 +1,6 @@
language: python
python:
- "2.7"
- "3.6"
install:
- python setup.py install

View file

@ -3,6 +3,10 @@ from setuptools.command.install import install
import os
# NOTE: Installation requires: python-setuptools (`sudo apt install python-setuptools`)
# INSTALL: `sudo python setup.py install`
PREINSTALL = """
# Check if OS has `apt` command
if [ "$(command -v apt)" != '' ]; then