Skip to content

Commit

Permalink
Use nested if
Browse files Browse the repository at this point in the history
  • Loading branch information
Zac-HD committed Mar 8, 2018
1 parent 544d848 commit 6c02f79
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ script:
- if [[ "$CONDA_ENV" == "docs" ]]; then
conda install -c conda-forge sphinx_rtd_theme;
sphinx-build -n -b html -d _build/doctrees doc _build/html;
elif [[ "$CONDA_ENV" == "py36-hypothesis" ]]; then
pytest xarray/properties;
else
py.test xarray --cov=xarray --cov-config ci/.coveragerc --cov-report term-missing --verbose $EXTRA_FLAGS;
if [[ "$CONDA_ENV" == "py36-hypothesis" ]]; then
pytest xarray/properties ;
else
py.test xarray --cov=xarray --cov-config ci/.coveragerc --cov-report term-missing --verbose $EXTRA_FLAGS;
fi
fi

after_success:
Expand Down

0 comments on commit 6c02f79

Please sign in to comment.