mirror of
https://github.com/pkkid/python-plexapi
synced 2024-11-26 05:30:20 +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
|
language: python
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- syntax
|
||||||
|
- name: test
|
||||||
|
if: type != pull_request
|
||||||
- name: deploy
|
- name: deploy
|
||||||
if: tag IS present
|
if: tag = present
|
||||||
|
|
||||||
sudo: required
|
sudo: required
|
||||||
services:
|
services:
|
||||||
|
@ -43,11 +45,8 @@ after_script:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- python: 3.6
|
- stage: syntax
|
||||||
env:
|
python: 3.6
|
||||||
- PLEX_CONTAINER_TAG=1.3.2.3112-1751929
|
|
||||||
- TEST_ACCOUNT_ONCE=1
|
|
||||||
- python: 3.6
|
|
||||||
name: "Flake8"
|
name: "Flake8"
|
||||||
install:
|
install:
|
||||||
- pip install -r requirements_dev.txt
|
- pip install -r requirements_dev.txt
|
||||||
|
@ -56,6 +55,11 @@ jobs:
|
||||||
after_script: true
|
after_script: true
|
||||||
env:
|
env:
|
||||||
- PLEX_CONTAINER_TAG=latest
|
- PLEX_CONTAINER_TAG=latest
|
||||||
|
- stage: test
|
||||||
|
python: 3.6
|
||||||
|
env:
|
||||||
|
- PLEX_CONTAINER_TAG=1.3.2.3112-1751929
|
||||||
|
- TEST_ACCOUNT_ONCE=1
|
||||||
- stage: deploy
|
- stage: deploy
|
||||||
name: "Deploy to PyPi"
|
name: "Deploy to PyPi"
|
||||||
python: 3.6
|
python: 3.6
|
||||||
|
|
Loading…
Reference in a new issue