Enable Travis for Python

This commit is contained in:
James Bowman 2019-02-22 06:41:35 -08:00
parent e188ef1a06
commit d381d3f28a
1 changed files with 9 additions and 9 deletions

18
testall
View File

@ -2,15 +2,15 @@
set -e
# cd python
# if [[ $TRAVIS_OS_NAME == 'osx' ]];
# then
# python setup.py install
# else
# python setup.py install --user
# fi
# cd ..
# python -c 'from spidriver import SPIDriver'
cd python
if [[ $TRAVIS_OS_NAME == 'osx' ]];
then
python setup.py install
else
python setup.py install --user
fi
cd ..
python -c 'from i2cdriver import I2CDriver'
# cd c
# make -f linux/Makefile