Skip to content

Commit

Permalink
condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mschmidt87 committed Jul 16, 2020
1 parent a0a3f76 commit 1a17604
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ python:
- "3.8"
env:
- DEP=[all]
- DEP=
- DEP=[dev]
branches:
only:
- master
Expand All @@ -25,10 +25,8 @@ before_install:
- source activate myenv
- pip install --upgrade pip
install:
- pip install pytest pytest-cov coveralls
- pip install flake8 black
- pip install mypy
- pip install -e .$DEP
- pip install pytest-cov coveralls
script:
- black --check .
- flake8 --config=.flake8 .
Expand Down Expand Up @@ -57,4 +55,4 @@ deploy:
on:
all_branches: true
python: 3.8
condition: "$DEP" = "[all]"
condition: $DEP = [all]

0 comments on commit 1a17604

Please sign in to comment.