Files
reddit/.travis.yml
Chris Slowe 69698a9d12 Add Travis-CI integration.
The only way to test travis is to deploy to master with a `.travis.yml` file and wait for travis-ci to pick up the change.  To do some pre-testing here, the `Vagrantfile` has been split into two distinct machines:

 * `default` is, as before, the full reddit build (we have an opportunity to rename this)
 * `travis` is a minimal install with only the packages and services required to run `nosetests` against the codebase.  It tries to mimic what will happen when we try to build this on travis-ci's workers.

As part of this addition, I've moved `install-reddit.sh` to `install/reddit.sh` and populated that `install` folder with common scripts used for both `default` and `travis` builds.
2016-01-14 15:50:47 -08:00

27 lines
363 B
YAML

sudo: required
dist: trusty
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
services:
- postgres
- memcached
- rabbitmq
install:
- sudo install/travis.sh travis .
before_script:
- install/setup_rabbitmq.sh
- install/setup_postgres.sh
- install/setup_cassandra.sh
script:
- cd r2 && nosetests