Add travis.yml
This commit is contained in:
parent
31c07254c2
commit
be7d2f6754
2 changed files with 10 additions and 0 deletions
6
.travis.yml
Normal file
6
.travis.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
language: python
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.6"
|
||||
install:
|
||||
- python setup.py install
|
||||
4
setup.py
4
setup.py
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue