Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (39 sloc) 881 Bytes
language: python
dist: xenial
sudo: false
cache:
pip: true
branches:
only:
- master
# Tags
- /^(\d+\.)+\d+(\.\S+)?$/
matrix:
fast_finish: true
include:
- python: '3.5'
- python: '3.7'
- python: '3.6'
name: 'Lint, Test w/ Coverage'
before_script:
- pip install flake8 coverage
script:
- flake8
- BOKEH_BROWSER=none catchsegv coverage run setup.py test
after_success:
- bash <(curl -s https://codecov.io/bash)
- python: '3.6'
name: 'Docs'
stage: deploy
install:
- pip install .[doc,test]
script:
- doc/build.sh
after_success:
- if [ "$TRAVIS_BRANCH" = "$TRAVIS_TAG" ]; then bash .github/deploy-gh-pages.sh; fi
before_install:
- set -e
install:
- pip install .[test]
script:
- BOKEH_BROWSER=none time catchsegv python setup.py test
You can’t perform that action at this time.