-
Notifications
You must be signed in to change notification settings - Fork 113
/
.travis.yml
52 lines (42 loc) · 896 Bytes
/
.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
sudo: false
language: python
python:
- "3.7"
- "3.8"
- "3.9"
- pypy3.7-7.3.2
cache:
directories:
- ~/.cache/pip
env:
global:
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
- PYTHONHASHSEED=94967295
matrix:
fast_finish: true
allow_failures:
- python: pypy3.7-7.3.2
notifications:
email:
on_success: always
branches:
except:
- /^v[0-9]/
# For ubs-ch-fr mapping
addons:
apt:
packages:
- language-pack-fr
before_install:
- pip install -U pip
- pip install wheel
install:
- pip install -r dev-requirements.txt
- pip install -r requirements.txt
script:
- manage lint && manage test
after_success:
- if [[ "$TRAVIS_PULL_REQUEST" == "true" ]]; then exit 0; fi
- if [[ "$TRAVIS_BRANCH" != "master" ]]; then exit 0; fi
- if [[ "$TRAVIS_PYTHON_VERSION" != "2.7" ]]; then exit 0; fi