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 1
1
# .travis.yml for Adafruit IO Python Client Library
2
-
3
- dist : trusty
4
- sudo : false
5
2
language : python
3
+ dist : trusty
4
+ sudo : required
5
+
6
6
python :
7
7
- " 3.6"
8
8
9
9
cache :
10
10
pip : true
11
11
12
12
before_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
14
16
15
17
install :
16
18
- python setup.py install
17
19
- pip install pylint Sphinx sphinx-rtd-theme
18
20
- pip install .
19
21
20
22
script :
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
27
26
# build library docs
28
27
- cd docs && sphinx-build -E -W -b html . _build/html
You can’t perform that action at this time.
0 commit comments