Skip to content

Commit 12bcbaf

Browse files
author
Igor Živković
committed
enable travis-ci
1 parent f2f81b5 commit 12bcbaf

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
os: linux
2+
dist: trusty
3+
group: stable
4+
language: python
5+
python: 3.6
6+
before_install:
7+
- sudo apt-get install tinyproxy
8+
script:
9+
- |
10+
./tinyproxy_exporter &
11+
PID=$!
12+
sleep 1
13+
kill $PID
14+
sudo rm /usr/share/tinyproxy/stats.html
15+
./tinyproxy_exporter &
16+
PID=$!
17+
sleep 1
18+
kill -15 $PID

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# tinyproxy_exporter
2+
[![Build Status](https://travis-ci.com/igzivkov/tinyproxy_exporter.svg?branch=master)](https://travis-ci.com/igzivkov/tinyproxy_exporter)
23
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors)
34

45
A simple Prometheus exporter for Tinyproxy.
@@ -29,4 +30,4 @@ Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds
2930
| :---: | :---: |
3031
<!-- ALL-CONTRIBUTORS-LIST:END -->
3132

32-
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!
33+
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind welcome!

0 commit comments

Comments
 (0)