forked from TotallyNotRobots/CloudBot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (41 loc) · 1.1 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
language: python
dist: xenial
sudo: true
python:
- "3.5"
- "3.6"
- "3.7"
- "pypy3.5"
branches:
only:
- gonzobot
# Allow tagged releases in the format v1.0
- /^v\d+\.\d+.*$/
cache: pip
jobs:
include:
- name: py3.5.3
before_install:
- sudo apt-get install -qy make build-essential libssl-dev zlib1g-dev libbz2-dev
libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev
xz-utils tk-dev libffi-dev liblzma-dev python-openssl git
- deactivate
- unset PYENV_ROOT
- curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash
- export PATH="$HOME/.pyenv/bin:$PATH"
- pyenv update
- pyenv install 3.5.3
- eval "$(pyenv init -)"
- pyenv shell 3.5.3
- pyenv rehash
install:
- "sudo apt-get update -q"
- "sudo apt-get install -y python3-lxml libenchant-dev"
- "pip install -Ur ./travis/requirements.txt"
script:
- "pytest"
after_success:
- codecov --required -e PYTHONASYNCIODEBUG
env:
- PYTHONPATH=.
- PYTHONPATH=. PYTHONASYNCIODEBUG=1