Gitlab ci and tox stuff
This commit is contained in:
parent
58aa5b1e72
commit
6f5a6c1e8c
|
@ -1,14 +1,38 @@
|
|||
image: python:2.7
|
||||
|
||||
before_script:
|
||||
#- apt-get update -qq && apt-get install -y -qq python python-pip
|
||||
- python --version
|
||||
- pip install -r requirements.txt
|
||||
- pip install tox setuptools
|
||||
cache:
|
||||
paths:
|
||||
- /root/.cache
|
||||
|
||||
types:
|
||||
stages:
|
||||
- test
|
||||
|
||||
job_test:
|
||||
type: test
|
||||
py27:
|
||||
stage: test
|
||||
image: python:2.7
|
||||
script:
|
||||
- make test
|
||||
- tox -e py27
|
||||
|
||||
py33:
|
||||
stage: test
|
||||
image: python:3.3
|
||||
script:
|
||||
- tox -e py33
|
||||
|
||||
py34:
|
||||
stage: test
|
||||
image: python:3.4
|
||||
script:
|
||||
- tox -e py34
|
||||
|
||||
py35:
|
||||
stage: test
|
||||
image: python:3.5
|
||||
script:
|
||||
- tox -e py35
|
||||
|
||||
pypy:
|
||||
stage: test
|
||||
image: python:pypy
|
||||
script:
|
||||
- tox -e pypy
|
||||
|
|
Loading…
Reference in New Issue
Block a user