File tree Expand file tree Collapse file tree 1 file changed +9
-10
lines changed
Expand file tree Collapse file tree 1 file changed +9
-10
lines changed Original file line number Diff line number Diff line change 11# .travis.yml for Adafruit IO Python Client Library
2-
3- dist : trusty
4- sudo : false
52language : python
3+ dist : trusty
4+ sudo : required
5+
66python :
77 - " 3.6"
88
99cache :
1010 pip : true
1111
1212before_install :
13- # pip install -r requirements.txt
13+ - git clone https://github.com/adafruit/io-client-python.git
14+ - cd io-client-python/tests
15+ - git checkout api-v2
1416
1517install :
1618 - python setup.py install
1719 - pip install pylint Sphinx sphinx-rtd-theme
1820 - pip install .
1921
2022script :
21- # run /tests/
22- - cd /tests
23- - python -m unittest test_client.py
24- - python -m unittest test_mqtt_client.py
25- - python -m unittest test_model.py
26- - python -m unittest test_errors.py
23+ # clone fresh
24+ - cd home/travis/build/adafruit/io-client-python/tests
25+ - python -m unittest discover
2726 # build library docs
2827 - cd docs && sphinx-build -E -W -b html . _build/html
You can’t perform that action at this time.
0 commit comments