Skip to content

Commit ee204d3

Browse files
author
brentru
committed
travis3
1 parent ebbcbd6 commit ee204d3

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
# .travis.yml for Adafruit IO Python Client Library
2-
3-
dist: trusty
4-
sudo: false
52
language: python
3+
dist: trusty
4+
sudo: required
5+
66
python:
77
- "3.6"
88

99
cache:
1010
pip: true
1111

1212
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
1416

1517
install:
1618
- python setup.py install
1719
- pip install pylint Sphinx sphinx-rtd-theme
1820
- pip install .
1921

2022
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
2726
# build library docs
2827
- cd docs && sphinx-build -E -W -b html . _build/html

0 commit comments

Comments
 (0)