forked from reubano/csv2ofx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (40 loc) · 879 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
sudo: false
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "pypy"
- "pypy3.5"
cache:
directories:
- ~/.cache/pip
env:
global:
- PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
- PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
- PYTHONHASHSEED=94967295
notifications:
email:
on_success: always
branches:
except:
- /^v[0-9]/
before_install:
- pip install -U pip
- pip install wheel
install:
- pip install -r dev-requirements.txt
- |
if [[ $TRAVIS_PYTHON_VERSION == *"3"* ]]; then
pip install -r requirements.txt
else
pip install -r py2-requirements.txt
fi
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