Permalink
Browse files

Add a config file for Travis CI

  • Loading branch information...
1 parent dd9dcc3 commit 97773246f4e78d96a1e330de29313da18d4a5911 @SimonSapin SimonSapin committed Jul 3, 2012
Showing with 12 additions and 29 deletions.
  1. +12 −0 .travis.yml
  2. +0 −29 run_tests
View
@@ -0,0 +1,12 @@
+language: python
+
+python:
+ - "2.5"
+ - "2.6"
+ - "2.7"
+ - "pypy"
+
+install:
+ - pip install --use-mirrors -e .
+
+script: python -m flask_flatpages.tests
View
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-# Create a multi-python virtualenv
-# virtualenv env
-# virtualenv env -p python2.5
-# virtualenv env -p python2.6
-# virtualenv env -p python2.7
-# Upgrade pip if < 0.8.2
-# pip-2.5 install -U pip
-# pip-2.6 install -U pip
-# pip-2.7 install -U pip
-# "Install"
-# pip-2.5 install -e .
-# pip-2.6 install -e .
-# pip-2.7 install -e .
-
-if [ "x$VIRTUAL_ENV" = "x" ]
-then
- echo "Not in a virtualenv. Aborting."
- exit 1
-fi
-
-cd $(dirname $0)
-
-for python in python2.5 python2.6 python2.7
-do
- echo "Testing in $python"
- $python setup.py -q test "$@"
-done

0 comments on commit 9777324

Please sign in to comment.