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
|
2020-03-06 14:20:38 +00:00
|
|
|
make -f linux/Makefile.clang
|