forked from romanvm/django-tinymce4-lite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (61 loc) · 1.16 KB
/
.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
49
50
51
52
53
54
55
56
57
58
59
60
61
language: python
dist: xenial
sudo: required
cache: pip
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
env:
- DJANGO=1.11
- DJANGO=2.0
- DJANGO=2.1
matrix:
exclude:
- env: DJANGO=2.0
python: "2.7"
- env: DJANGO=2.1
python: "2.7"
- env: DJANGO=1.11
python: "3.7"
addons:
chrome: stable
apt:
packages:
- enchant
before_install:
- wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip
- unzip chromedriver_linux64.zip
- chmod +x chromedriver
- export PATH=$TRAVIS_BUILD_DIR:$PATH
install:
- pip install -q codecov tox tox-travis
script: tox
after_success:
- codecov
before_deploy:
- pip install -q -r requirements-base.txt Sphinx
- cd docs
- make html
- cd $TRAVIS_BUILD_DIR
deploy:
- provider: pages
local-dir: docs/_build/html
github-token: $GH_TOKEN
skip_cleanup: true
on:
branch: master
python: "3.7"
condition: $DJANGO = 2.1
- provider: pypi
skip_cleanup: true
user: $PYPI_USER
password: $PYPI_PASS
distributions: "sdist bdist_wheel"
on:
tags: true
python: "3.7"
condition: $DJANGO = 2.1
notifications:
email: false