Skip to content

Commit 895ead3

Browse files
author
Colton Provias
committed
Setting up for Travis-CI
1 parent b26b9db commit 895ead3

6 files changed

Lines changed: 20 additions & 3 deletions

File tree

.coveragerc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[run]
2+
omit=sqlalchemy_jsonapi/tests/*

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: python
2+
python:
3+
- "3.4"
4+
- "nightly"
5+
install:
6+
- "pip install ."
7+
- "pip install -r requirements.txt"
8+
script: py.test

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[pytest]
2-
addopts = -x --ff
2+
addopts = --cov=sqlalchemy_jsonapi --cov-report=term-missing
33
norecursedirs = lib include bin docs *.egg .*

requirements.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
SQLAlchemy>=1.0.8
22
inflection>=0.3.1
33
flask>=0.10.1
4-
blinker>=1.4
4+
blinker>=1.4
5+
bcrypt==2.0.0
6+
fake-factory==0.5.2
7+
Flask-SQLAlchemy==2.0
8+
inflection==0.3.1
9+
passlib==1.6.5
10+
pathtools==0.1.2
11+
SQLAlchemy-Utils==0.30.16

sqlalchemy_jsonapi/tests/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
db = SQLAlchemy(app)
2323

2424
app.config['SQLALCHEMY_DATABASE_URI'] = \
25-
'postgresql+psycopg2://localhost/sqlalchemy_jsonapi'
25+
'sqlite://'
2626
app.config['SQLALCHEMY_ECHO'] = False
2727

2828

test_requirements.txt

Whitespace-only changes.

0 commit comments

Comments
 (0)