File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -7,17 +7,28 @@ python:
7
7
- " 3.6"
8
8
- " pypy"
9
9
- " pypy3"
10
+
10
11
branches :
11
12
only :
12
13
- master
14
+
15
+ cache :
16
+ directories :
17
+ - $HOME/.cache/pip
18
+ before_cache :
19
+ - rm -f $HOME/.cache/pip/log/debug.log
20
+
13
21
install :
14
22
- pip install coveralls
23
+ - pip install -U wheels
15
24
- pip install -r requirements.txt
16
25
- pip install -r requirements-dev.txt
17
26
- if [[ $TRAVIS_PYTHON_VERSION != 'pypy'* ]]; then pip install ujson; fi
27
+
18
28
script :
19
29
- nosetests -v --with-flaky --no-flaky-report --with-coverage --cover-package=telegram/ tests
20
30
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]]; then pre-commit run --all-files; fi
21
31
- python ./setup.py bdist_dumb
32
+
22
33
after_success :
23
34
coveralls
Original file line number Diff line number Diff line change @@ -15,12 +15,14 @@ environment:
15
15
install :
16
16
# We need wheel installed to build wheels
17
17
- " git submodule update --init --recursive"
18
- - " %PYTHON%\\ python.exe -m pip install wheel"
18
+ - " %PYTHON%\\ python.exe -m pip install -U wheel"
19
19
- " %PYTHON%\\ python.exe -m pip install -r requirements.txt"
20
20
- " %PYTHON%\\ python.exe -m pip install -r requirements-dev.txt"
21
21
22
22
build : off
23
23
24
+ cache : C:\Users\appveyor\pip\wheels
25
+
24
26
test_script :
25
27
- " %python%\\ Scripts\\ nosetests -v --with-flaky --no-flaky-report tests"
26
28
You can’t perform that action at this time.
0 commit comments