Permalink
Browse files

added travis_django_version file

  • Loading branch information...
1 parent 49a1311 commit cb92840e3e680945d21eb80f21bdbcc1e459fa51 @ramusus committed Jan 20, 2014
Showing with 9 additions and 0 deletions.
  1. +9 −0 travis_django_version.py
View
@@ -0,0 +1,9 @@
+#!/usr/bin/env python
+import sys
+
+version = sys.argv[1]
+if version.startswith('http'):
+ print(version)
+else:
+ next_version = float(version) + 0.1
+ print('Django>=%s,<%.1f' % (version, next_version))

0 comments on commit cb92840

Please sign in to comment.