Skip to content

Commit

Permalink
Added travis build.
Browse files Browse the repository at this point in the history
  • Loading branch information
bellisk committed Feb 17, 2014
1 parent 8a12596 commit 46e9631
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: python

python:
- '2.7'

install: pip install -r pip-requirements.txt

script: ./build.sh
15 changes: 15 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash

set -e

function cleanup {
exit $?
}

trap "cleanup" EXIT

# Check PEP-8 code style and McCabe complexity
flake8 --show-pep8 --show-source ckanext

# run tests
# nosetests --verbose
5 changes: 5 additions & 0 deletions pip-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# This file lists the dependencies of this extension.
# Install with a command like: pip install -r pip-requirements.txt
boto==2.9.8
xlrd==0.9.2
flake8==2.1.0

0 comments on commit 46e9631

Please sign in to comment.