mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-22 11:43:13 +00:00
do not run tests, except flake8, on pull requests
This commit is contained in:
parent
4e2fa8254b
commit
a774925f8c
1 changed files with 11 additions and 7 deletions
18
.travis.yml
18
.travis.yml
|
@ -1,9 +1,11 @@
|
|||
language: python
|
||||
|
||||
stages:
|
||||
- test
|
||||
- syntax
|
||||
- name: test
|
||||
if: type != pull_request
|
||||
- name: deploy
|
||||
if: tag IS present
|
||||
if: tag = present
|
||||
|
||||
sudo: required
|
||||
services:
|
||||
|
@ -43,11 +45,8 @@ after_script:
|
|||
|
||||
jobs:
|
||||
include:
|
||||
- python: 3.6
|
||||
env:
|
||||
- PLEX_CONTAINER_TAG=1.3.2.3112-1751929
|
||||
- TEST_ACCOUNT_ONCE=1
|
||||
- python: 3.6
|
||||
- stage: syntax
|
||||
python: 3.6
|
||||
name: "Flake8"
|
||||
install:
|
||||
- pip install -r requirements_dev.txt
|
||||
|
@ -56,6 +55,11 @@ jobs:
|
|||
after_script: true
|
||||
env:
|
||||
- PLEX_CONTAINER_TAG=latest
|
||||
- stage: test
|
||||
python: 3.6
|
||||
env:
|
||||
- PLEX_CONTAINER_TAG=1.3.2.3112-1751929
|
||||
- TEST_ACCOUNT_ONCE=1
|
||||
- stage: deploy
|
||||
name: "Deploy to PyPi"
|
||||
python: 3.6
|
||||
|
|
Loading…
Reference in a new issue