Skip to content

Commit

Permalink
Adding Travis.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Lecocq committed Apr 1, 2015
1 parent 2213d3c commit 9fa5575
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .travis.yml
@@ -0,0 +1,9 @@
language: python
python:
- "2.7"

before_install: ./provision.sh

install: pip install -r requirements.txt --use-mirrors

script: make test
8 changes: 5 additions & 3 deletions provision.sh 100644 → 100755
Expand Up @@ -6,9 +6,11 @@ sudo apt-get install -y python-pip python-dev

echo '[Credentials]
aws_access_key_id = not-a-real-id
aws_secret_access_key = not-a-real-key' | tee /home/vagrant/.boto
aws_secret_access_key = not-a-real-key' | tee ~/.boto

(
cd /vagrant
sudo pip install -r requirements.txt
if [ -z $TRAVIS ]; then
cd /vagrant
sudo pip install -r requirements.txt
fi
)

0 comments on commit 9fa5575

Please sign in to comment.