forked from aio-libs-abandoned/aioredis-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (49 loc) · 1.06 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
sudo: false
addons:
apt:
packages:
- socat
- enchant
- aspell
- aspell-en
language: python
env:
global:
- REDIS_TAGS="2.6.17 2.8.22 3.0.7 3.2.6 4.0-rc2" CERT_DIR=/tmp/certs INSTALL_DIR=$HOME/redis
matrix:
include:
- python: "3.3"
env: TESTS="flake examples"
- python: "3.4"
env: TESTS="flake examples"
- python: "3.5"
env: TESTS="flake examples spelling"
- python: "3.6-dev"
env: TESTS="flake examples" TEST_ARGS=--uvloop
allow_failures:
- env: TESTS="flake examples" TEST_ARGS=--uvloop
cache: pip
# directories:
# - $HOME/redis
# - $HOME/.cache/pip
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log
install:
- pip install hiredis
- pip install sphinx
- pip install codecov
- pip install -r tests/requirements.txt
- pip install -r docs/requirements.txt
- pip install -e .
- >
if [ "$TEST_ARGS" = "--uvloop" ]; then
pip install uvloop
fi
before_script:
# make certificate for ssl/tls test and build Redises
- make -j certificate ci-build-redis
script:
- make ci-test
- make $TESTS
after_script:
- codecov