Skip to content

Commit 0be241d

Browse files
authored
Add travis ci (#2)
1 parent ba7a067 commit 0be241d

3 files changed

Lines changed: 30 additions & 1 deletion

File tree

.travis.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
language: python
2+
python:
3+
- "2.7"
4+
- "3.4"
5+
- "3.5"
6+
- "3.6"
7+
matrix:
8+
include:
9+
- python: 3.7
10+
dist: xenial
11+
sudo: true
12+
before_script:
13+
- docker pull lkdevelopment/hetzner-cloud-api-mock
14+
- docker run -d -p 127.0.0.1:4000:8080 lkdevelopment/hetzner-cloud-api-mock
15+
- docker ps -a
16+
- sleep 10
17+
18+
install:
19+
- pip install -r requirements/dev.txt
20+
- pip install .
21+
- pip install tox-travis
22+
23+
script: tox && tox -e flake8

README.md renamed to README.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
Hetzner Cloud Python
22
====================
3+
4+
5+
.. image:: https://travis-ci.com/hetznercloud/hcloud-python.svg?branch=master
6+
:target: https://travis-ci.com/hetznercloud/hcloud-python
7+
8+
39
**IMPORTANT: This project is still in development and not ready production yet!**
410

511
Official Hetzner Cloud python library

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from setuptools import setup, find_packages
77

8-
with open('README.md') as readme_file:
8+
with open('README.rst') as readme_file:
99
readme = readme_file.read()
1010

1111
with open('CHANGELOG.md') as changelog_file:

0 commit comments

Comments
 (0)