Skip to content

Commit 9991e34

Browse files
committed
Merge pull request #3 from mindriot101/travis-integration
Travis integration
2 parents f03e858 + d525b53 commit 9991e34

4 files changed

Lines changed: 19 additions & 0 deletions

File tree

.travis.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
language: python
2+
python:
3+
- "2.6"
4+
- "2.7"
5+
- "3.4"
6+
- "3.5"
7+
install:
8+
- "pip install -r requirements.txt"
9+
# Fix python 3.5 issue with pytest
10+
- "pip install pytest>=2.7.3 --upgrade"
11+
- "pip install ."
12+
script: py.test testing

README.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ TTVFast
33
=======
44
:Author: Simon Walker <s.r.walker101@googlemail.com>
55

6+
.. image:: https://travis-ci.org/mindriot101/ttvfast-python.svg?branch=master
7+
:target: https://travis-ci.org/mindriot101/ttvfast-python
8+
69
Installation
710
============
811

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pytest>=2.7.3
2+
six==1.9.0
3+
numpy==1.9.1

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
sources=["src/ttvfast_wrapper.c",
88
"external/TTVFast/c_version/TTVFast.c"],
99
include_dirs=['external/TTVFast/c_version'],
10+
extra_compile_args=['-std=c99'],
1011
# Debug mode
1112
# define_macros=[('DEBUG', True)],
1213
)

0 commit comments

Comments
 (0)