forked from CGM_Public/pretix_original
Use pip 7 caching
This commit is contained in:
@@ -7,7 +7,7 @@ tests:
|
|||||||
- source env/bin/activate
|
- source env/bin/activate
|
||||||
- curl https://bootstrap.pypa.io/get-pip.py | python
|
- curl https://bootstrap.pypa.io/get-pip.py | python
|
||||||
- cd src
|
- cd src
|
||||||
- pip3 install -q -r requirements.txt
|
- XDG_CACHE=/cache pip3 install -q -r requirements.txt
|
||||||
- flake8 --ignore=E123,F403,F401,N802,C901,W503 .
|
- flake8 --ignore=E123,F403,F401,N802,C901,W503 .
|
||||||
- isort -c -rc .
|
- isort -c -rc .
|
||||||
- python3 manage.py check
|
- python3 manage.py check
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ sudo: false
|
|||||||
python:
|
python:
|
||||||
- "3.4"
|
- "3.4"
|
||||||
install:
|
install:
|
||||||
|
- pip install -U pip wheel
|
||||||
- pip install -q -r src/requirements.txt
|
- pip install -q -r src/requirements.txt
|
||||||
- npm install -g less@2.5.0
|
- npm install -g less@2.5.0
|
||||||
before_script:
|
before_script:
|
||||||
@@ -16,3 +17,4 @@ script:
|
|||||||
- coverage run -m py.test tests
|
- coverage run -m py.test tests
|
||||||
after_success:
|
after_success:
|
||||||
- coveralls
|
- coveralls
|
||||||
|
cache: pip
|
||||||
|
|||||||
Reference in New Issue
Block a user