2019-02-10 15:07:27 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2019-02-22 14:41:35 +00:00
|
|
|
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'
|
2019-02-10 15:07:27 +00:00
|
|
|
|
2019-02-24 14:51:15 +00:00
|
|
|
cd c
|
|
|
|
make -f linux/Makefile
|