Enable Travis for Python
This commit is contained in:
parent
e188ef1a06
commit
d381d3f28a
18
testall
18
testall
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue