File tree 2 files changed +19
-14
lines changed
2 files changed +19
-14
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : python
2
- python :
3
- - " 3.3"
3
+ python : " 3.3"
4
+ cache :
5
+ directories :
6
+ - ~/.cache/pip/wheels
4
7
env :
5
- - DATABASE_URL=postgres://postgres:@127.0.0.1:5432/python.org
6
- before_install :
7
- - sudo apt-get update -qq
8
+ global :
9
+ - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels
10
+ - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels
11
+ - DATABASE_URL=postgres://postgres:@127.0.0.1:5432/python.org
8
12
install :
9
- - pip install --quiet --upgrade pip
10
- - pip install --quiet -r requirements.txt
11
- - pip install --quiet -r dev-requirements.txt
13
+ - pip wheel -r dev-requirements.txt
14
+ - pip install -r dev-requirements.txt
12
15
before_script :
13
16
- psql -c 'create database "python.org";' -U postgres
14
17
script :
15
- - coverage run manage.py test
18
+ - coverage run manage.py test -v2
16
19
- coverage report --fail-under=80
17
20
notifications :
18
- irc :
19
- channels :
20
- - " irc.freenode.net#python-dev"
21
- on_success : change
22
- on_failure : always
21
+ irc :
22
+ channels :
23
+ - " irc.freenode.net#python-dev"
24
+ on_success : change
25
+ on_failure : always
Original file line number Diff line number Diff line change
1
+ -r requirements.txt
2
+
1
3
# Extra stuff required for local dev
2
4
3
5
coverage
You can’t perform that action at this time.
0 commit comments