Permalink
Browse files

stand up a hello world and travis

  • Loading branch information...
1 parent 60da9ed commit 780b5e233da410fb426ef54d7dbca6e80639f4f2 @andymckay andymckay committed Oct 2, 2012
View
@@ -0,0 +1,18 @@
+language: python
+python:
+ - "2.6"
+before_install:
+ - sudo apt-get update
+ - sudo apt-get install swig
+
+install:
+ - pip install --no-deps -r requirements/test.txt --use-mirrors
+ - cp solitude/settings/local.py{-dist,}
+ - mysqladmin create playdoh_app
+script: ./manage.py test
+notifications:
+ irc:
+ channels:
+ - "irc.mozilla.org#amo-bots"
+ on_succes: change
+ on_failure: always
File renamed without changes.
View
No changes.
View
No changes.
View
@@ -0,0 +1,10 @@
+from django import test
+from django.core.urlresolvers import reverse
+
+from nose.tools import eq_
+
+
+class TestVerify(test.TestCase):
+
+ def hello(self):
+ eq_(self.client.get(reverse('verify')).status_code, 200)
View
@@ -0,0 +1,7 @@
+from django.conf.urls.defaults import patterns, url
+
+import views
+
+urlpatterns = patterns('',
+ url(r'^verify$', views.verify, name='verify'),
+)
View
@@ -0,0 +1,5 @@
+from django import http
+
+
+def verify(request):
+ return http.HttpResponse('Hello world.')
@@ -1 +1,3 @@
--r ../vendor/src/funfactory/funfactory/requirements/compiled.txt
+Jinja2==2.6
+M2Crypto==0.20.0
+MySQL-python==1.2.4b2
View
@@ -1,6 +1,5 @@
# This file pulls in everything a developer needs. If it's a basic package
# needed to run the site, it belongs in requirements/prod.txt. If it's a
# package for developers (testing, docs, etc.), it goes in this file.
-
--r ../vendor/src/funfactory/funfactory/requirements/compiled.txt
--r ../vendor/src/funfactory/funfactory/requirements/dev.txt
+-r prod.txt
+-r compiled.txt
View
@@ -1 +1,28 @@
--r ../vendor/src/funfactory/funfactory/requirements/prod.txt
+Django==1.4.1
+PyJWT==0.1.4
+cef==0.3
+django-browserid==0.6
+django-multidb-router==0.5
+django-nose==1.1
+django-statsd-mozilla==0.3.7
+funfactory==2.1.1
+jingo==0.4
+nose==1.2.1
+moz_inapp_pay==1.0.2
+requests==0.14.0
+six==1.2.0
+statsd==1.0.0
+
+-e git://github.com/clouserw/tower.git@7711557f55fefa9526402b2731879edf9b128381#egg=tower
+
+-e git://github.com/jbalogh/test-utils.git@3c2214d193d1b0c0d74c77b3731c8afb0173e669#egg=test-utils
+
+-e git://github.com/jsocol/commonware.git@1b2e7623782c7aaca5401714758845cf9fcee621#egg=commonware
+-e git://github.com/jsocol/django-cronjobs.git@cfda8176c5c3a50d1b58fcf57e87e23c467789bd#egg=django-cronjobs
+-e git://github.com/jsocol/jingo-minify.git@d2ffefbd31e5035873083107e86893be302ce452#egg=jingo-minify
+
+-e git://github.com/fwenzel/django-sha2.git@f4519bf0cc9b1dd7a7d78394fa4aec4504bc86e9#egg=django-sha2
+-e git://github.com/fwenzel/django-mozilla-product-details.git@36ef06539d6b34c4f345fd0d3e16937d0db9a752#egg=django-mozilla-product-details
+
+-e git://github.com/mozilla/django-session-csrf.git@94e2858a427a6b278e41c051643f3c226f096f21#egg=django-session-csrf
+-e git://github.com/mozilla/nuggets.git@96e80a64aa4bfcfef4f43fc3ab6966450ccd7325#egg=nuggets
@@ -1,8 +0,0 @@
-from django.contrib.auth.models import User
-
-
-# User class extensions
-def user_unicode(self):
- """Use email address for string representation of user."""
- return self.email
-User.add_to_class('__unicode__', user_unicode)
@@ -1,52 +0,0 @@
-/* An example CSS file that will be minified. */
-body {
- font-family: sans-serif;
- background-color: rgb(56,142,222);
- background-image: -webkit-gradient(
- linear,
- left bottom,
- left top,
- color-stop(0.19, rgb(56,142,222)),
- color-stop(0.6, rgb(82,186,255))
- );
- background-image: -moz-linear-gradient(
- center bottom,
- rgb(56,142,222) 19%,
- rgb(82,186,255) 60%
- );
- background-repeat: repeat-x;
- min-height: 800px;
- padding-left: 30px;
-}
-h1 {
- font-family: Helvetica, sans-serif;
-}
-section, p, ul {
- background-color: rgba(255,255,255,0.3);;
- color: #333;
- font-family: Courier, serif;
- line-height: 1.4;
- padding: 5px;
- width: 600px;
-}
-li {
- margin-left: 30px;
-}
-
-#bleachform {
- margin: 50px 0;
-}
-#bleachform p {
- font-size: 80%;
-}
-#bleachform textarea {
- height: 100px;
- width: 600px;
-}
-#bleached {
- background-color: rgba(255, 0, 0, .5);
- margin: 50px 0;
-}
-#bleached p {
- background-color: transparent;
-}
@@ -1,73 +0,0 @@
-/* http://meyerweb.com/eric/tools/css/reset/
- v2.0 | 20110126
- License: none (public domain)
-*/
-
-html, body, div, span, applet, object, iframe,
-h1, h2, h3, h4, h5, h6, p, blockquote, pre,
-a, abbr, acronym, address, big, cite, code,
-del, dfn, em, img, ins, kbd, q, s, samp,
-small, strike, strong, sub, sup, tt, var,
-b, u, i, center,
-dl, dt, dd, ol, ul, li,
-fieldset, form, label, legend,
-table, caption, tbody, tfoot, thead, tr, th, td,
-article, aside, canvas, details, embed,
-figure, figcaption, footer, header, hgroup,
-menu, nav, output, ruby, section, summary,
-time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
- font-size: 100%;
- font: inherit;
- vertical-align: baseline;
-}
-/* HTML5 display-role reset for older browsers */
-article, aside, details, figcaption, figure,
-footer, header, hgroup, menu, nav, section {
- display: block;
-}
-body {
- line-height: 1;
-}
-ol, ul {
- list-style: none;
-}
-blockquote, q {
- quotes: none;
-}
-blockquote:before, blockquote:after,
-q:before, q:after {
- content: '';
- content: none;
-}
-table {
- border-collapse: collapse;
- border-spacing: 0;
-}
-/* end meyer reset */
-
-/************************************/
-/* STYLES */
-/************************************/
-
-h1, h2, h3 {
- font-family: Georgia, serif;
-}
-a:link {
- font-family: Georgia, serif;
- color: #447bc4;
- text-decoration: none;
-}
-body {
- background-color: rgb(56,142,222);
- margin: 0.3em;
- line-height: 1.1em;
-}
-p {
- margin: 0.5em 0 0 0;
-}
-#footer {
- margin-top: 1em;
-}
@@ -1,9 +0,0 @@
-$(function() {
- var cookie_name = $('body').attr('data-mobile-cookie');
- $(".desktop-link").attr("href", window.location).click(function() {
- $.cookie(cookie_name, "off", {expires:30});
- });
- $(".mobile-link").attr("href", window.location).click(function() {
- $.cookie(cookie_name, "on", {expires:30});
- });
-});
Oops, something went wrong.

0 comments on commit 780b5e2

Please sign in to comment.