-
Notifications
You must be signed in to change notification settings - Fork 5
/
.disable.travis.yml
48 lines (40 loc) · 1.08 KB
/
.disable.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# language: python
# cache: pip
# python:
# - "3.6"
# - "3.7"
# - "3.8"
# branches:
# only:
# - master
# matrix:
# fast_finish: true
# include:
# - env: NAME="Docs"
# MAIN_CMD="cd docs && make html"
# PYTHON_VERSION=3.7
# install:
# - pip install --upgrade pytest
# - pip install codecov pytest-cov
# - pip install --upgrade numpy cython
# - if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then pip install --upgrade sphinx sphinx-sitemap sphinx-rtd-theme; fi
# - pip install -e .
# script:
# - pytest -v --cov pytng pytng tests
# after_success:
# - codecov
# # only need to build docs on 3.7 version
# # touch .nojekyll else github-pages messes up theme
# - if [[ $TRAVIS_PYTHON_VERSION == "3.7" ]]; then cd docs && make html && touch ./_build/html/.nojekyll && cd ../; fi
# deploy:
# # stuff related to deploying to gh-pages
# provider: pages
# strategy: git
# cleanup: false
# token: $GH_PAGES_TOKEN
# on:
# branch: master
# python: "3.7"
# local_dir: docs/_build/html
# project_name: pytng
# edge: true