Skip to content

Commit 62da3ee

Browse files
committed
Added travis.
1 parent b5684b8 commit 62da3ee

File tree

6 files changed

+34
-4
lines changed

6 files changed

+34
-4
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: python
2+
sudo: false
3+
4+
5+
install:
6+
install:
7+
- time ci/setup
8+
9+
10+
script:
11+
- time ci/test
12+
13+
14+
notifications:
15+
email: false
16+
17+
18+
matrix:
19+
include:
20+
- python: "2.7"
21+
env: UWSGI="2.0.14"

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Prometheus instrumentation library for Python applications
33

44
The unofficial Python 2 and 3 client for [Prometheus](http://prometheus.io).
55

6-
.. image:: https://secure.travis-ci.org/Lispython/pyprometheus.png
7-
:target: https://secure.travis-ci.org/Lispython/pyprometheus
6+
.. image:: https://travis-ci.org/Lispython/pyprometheus.svg?branch=master
7+
:target: https://travis-ci.org/Lispython/pyprometheus
88

99

1010

ci/setup

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash -e
2+
3+
pip install "pip>=8.1"
4+
5+
pip install uwsgi==$UWSGI

ci/test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/bash -e
2+
3+
4+
uwsgi --pyrun setup.py --pyargv test --sharedarea=100 --enable-threads

tools/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \
1313
COPY tests_requirements.txt /tests_requirements.txt
1414

1515

16-
RUN pip install -U pip setuptools wheel==0.30.0a0 pyparsing==2.1.10 twine
16+
RUN pip install -U pip setuptools wheel==0.30.0a0 pyparsing==2.1.10 twine
1717
RUN pip install -U plop gprof2dot ipython
1818

1919

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = py27, py33, py34, py35, pypy
7+
envlist = py27, py33, py34, py35
88

99
[testenv]
1010
commands =

0 commit comments

Comments
 (0)