Skip to content

Commit 1751dba

Browse files
committed
Verified correct installation of plexapi in Travis
The missed dependency to the 'mock' package on Python 2.7 made it clear that this went by undetected in the Travis runs. This change updates the Travis control file to verify that the plexapi package can be successfully imported after being installed from the working directory using pip. Because the installation of py.test drags in a lot of dependencies, it was moved after the installation of plexapi. Signed-off-by: Andreas Maier <[email protected]>
1 parent 6987182 commit 1751dba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ env:
2323
before_install:
2424
- pip install --upgrade pip
2525
- pip install --upgrade setuptools
26-
- pip install --upgrade pytest pytest-cov coveralls
2726
install:
27+
- pip install .
28+
- python -c "import plexapi; print('installation ok')"
29+
- pip install --upgrade pytest pytest-cov coveralls
2830
- pip install -r requirements_dev.txt
2931
- '[ -z "${PLEXAPI_AUTH_MYPLEX_USERNAME}" ] && PYTHONPATH="$PWD:$PYTHONPATH" python -u tools/plex-bootstraptest.py
3032
--destination plex --advertise-ip=127.0.0.1 --bootstrap-timeout 540 --docker-tag $PLEX_CONTAINER_TAG --unclaimed ||

0 commit comments

Comments
 (0)