Skip to content

Commit d33c57a

Browse files
committed
Merge pull request arachnys#150 from bonniejools/travis_integration
Travis integration
2 parents e689938 + 096e569 commit d33c57a

File tree

2 files changed

+33
-1
lines changed

2 files changed

+33
-1
lines changed

.travis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
language: python
2+
3+
python:
4+
- "2.7"
5+
6+
services:
7+
- redis-server
8+
9+
# install deps
10+
install:
11+
- sudo apt-get update
12+
- sudo apt-get install -y python-software-properties
13+
- sudo apt-get install gcc python-dev git python-pip libpq-dev npm rubygems
14+
-
15+
- sudo npm install -g coffee-script less@1.3 --registry http://registry.npmjs.org/
16+
- gem install foreman
17+
-
18+
- sudo pip install virtualenv
19+
- sudo virtualenv venv
20+
- sudo ./venv/bin/pip install --upgrade setuptools
21+
- sudo ./venv/bin/pip install --timeout=30 --exists-action=w -e . --no-use-wheel
22+
23+
# setup databases
24+
before_script:
25+
- cp conf/development.env.example conf/development.env
26+
- cp conf/production.env.example conf/production.env
27+
- . venv/bin/activate
28+
- foreman run python manage.py syncdb --migrate --noinput
29+
30+
# tests
31+
script:
32+
- foreman run python manage.py test cabot

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Cabot
1+
Cabot [![Build Status](https://travis-ci.org/arachnys/cabot.svg?branch=master)](https://travis-ci.org/arachnys/cabot)
22
=====
33

44
Cabot is a free, open-source, self-hosted infrastructure monitoring platform that provides some of the best features of [PagerDuty](http://www.pagerduty.com), [Server Density](http://www.serverdensity.com), [Pingdom](http://www.pingdom.com) and [Nagios](http://www.nagios.org) without their cost and complexity. (Nagios, I'm mainly looking at you.)

0 commit comments

Comments
 (0)