diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 743e5cfe5035cc537ac60f7c0c21df1e9b0e4660..0000000000000000000000000000000000000000 --- a/.travis.yml +++ /dev/null @@ -1,22 +0,0 @@ -sudo: false -language: python -python: - - "2.7" -install: - - pip install --upgrade setuptools>=28 - - python setup.py -q install -before_script: - - pip install coverage - - pip install python-coveralls - - pip install pep8 - - cp travis-ci/manage.py manage.py - - python manage.py migrate --noinput -script: - - pep8 spotseeker_restclient/ --exclude=migrations - - coverage run --source=spotseeker_restclient/ --omit=spotseeker_restclient/migrations/* manage.py test spotseeker_restclient -after_script: - - coveralls -notifications: - webhooks: - urls: - - https://yarn.cac.washington.edu/rest/botalyst/v1/travis-ci \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile deleted file mode 100644 index b9f8855e4baa494e10b01b6361d4a6674a1275b1..0000000000000000000000000000000000000000 --- a/Jenkinsfile +++ /dev/null @@ -1,14 +0,0 @@ -pipline { - agent { - docker { - image 'python:3.6-alpine' - } - } - stages { - stage('Build') { - steps { - sh 'pip -v' - } - } - } -} \ No newline at end of file diff --git a/travis-ci/__init__.py b/travis-ci/__init__.py deleted file mode 100644 index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/travis-ci/manage.py b/travis-ci/manage.py deleted file mode 100644 index 5c3018effb9c8e3ba52bd988c4e9a3befa3a573c..0000000000000000000000000000000000000000 --- a/travis-ci/manage.py +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/env python -import os -import sys - -if __name__ == "__main__": - os.environ.setdefault("DJANGO_SETTINGS_MODULE", "travis-ci.settings") - - from django.core.management import execute_from_command_line - - execute_from_command_line(sys.argv) diff --git a/travis-ci/settings.py b/travis-ci/settings.py deleted file mode 100644 index 4d1dea87dbf28a718431832a6bbfb7c85f0721f1..0000000000000000000000000000000000000000 --- a/travis-ci/settings.py +++ /dev/null @@ -1,97 +0,0 @@ -""" -Django settings for project project. - -For more information on this file, see -https://docs.djangoproject.com/en/1.7/topics/settings/ - -For the full list of settings and their values, see -https://docs.djangoproject.com/en/1.7/ref/settings/ -""" - -# Build paths inside the project like this: os.path.join(BASE_DIR, ...) -import os -BASE_DIR = os.path.dirname(os.path.dirname(__file__)) - -# Quick-start development settings - unsuitable for production -# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/ - -# SECURITY WARNING: keep the secret key used in production secret! -SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' - -# SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True - -TEMPLATE_DEBUG = True - -ALLOWED_HOSTS = [] - - -# Application definition - -INSTALLED_APPS = ( - 'django.contrib.admin', - 'django.contrib.auth', - 'django.contrib.contenttypes', - 'django.contrib.sessions', - 'django.contrib.messages', - 'django.contrib.staticfiles', - 'spotseeker_restclient' -) - -MIDDLEWARE_CLASSES = ( - 'django.contrib.sessions.middleware.SessionMiddleware', - 'django.middleware.common.CommonMiddleware', - 'django.middleware.csrf.CsrfViewMiddleware', - 'django.contrib.auth.middleware.AuthenticationMiddleware', - 'django.contrib.auth.middleware.RemoteUserMiddleware', - 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', - 'django.contrib.messages.middleware.MessageMiddleware', - 'django.middleware.clickjacking.XFrameOptionsMiddleware', -) - -AUTHENTICATION_BACKENDS = ( - 'django.contrib.auth.backends.RemoteUserBackend', -) - -ROOT_URLCONF = 'travis-ci.urls' - -WSGI_APPLICATION = 'travis-ci.wsgi.application' - - -# Database -# https://docs.djangoproject.com/en/1.7/ref/settings/#databases - -DATABASES = { - 'default': { - 'ENGINE': 'django.db.backends.sqlite3', - 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), - } -} - -# Internationalization -# https://docs.djangoproject.com/en/1.7/topics/i18n/ - -LANGUAGE_CODE = 'en-us' - -TIME_ZONE = 'America/Los_Angeles' - -USE_I18N = True - -USE_L10N = True - -USE_TZ = True - - -# Static files (CSS, JavaScript, Images) -# https://docs.djangoproject.com/en/1.7/howto/static-files/ - -STATIC_URL = '/static/' - -STATICFILES_FINDERS = ( - 'django.contrib.staticfiles.finders.FileSystemFinder', - 'django.contrib.staticfiles.finders.AppDirectoriesFinder', - 'compressor.finders.CompressorFinder', - # 'django.contrib.staticfiles.finders.DefaultStorageFinder', -) - -COMPRESS_ENABLED = False diff --git a/travis-ci/urls.py b/travis-ci/urls.py deleted file mode 100644 index 034813207ffd49d881578c95239887a1149e4e71..0000000000000000000000000000000000000000 --- a/travis-ci/urls.py +++ /dev/null @@ -1,8 +0,0 @@ -from django.conf.urls import patterns, include, url -from django.contrib import admin - -urlpatterns = patterns('', - # Examples: - # url(r'^$', 'project.views.home', name='home'), - # url(r'^blog/', include('blog.urls')), -) diff --git a/travis-ci/wsgi.py b/travis-ci/wsgi.py deleted file mode 100644 index bf88c8804fe3dc3c9cb9a6e37109b6c04909a8f2..0000000000000000000000000000000000000000 --- a/travis-ci/wsgi.py +++ /dev/null @@ -1,14 +0,0 @@ -""" -WSGI config for project project. - -It exposes the WSGI callable as a module-level variable named ``application``. - -For more information on this file, see -https://docs.djangoproject.com/en/1.7/howto/deployment/wsgi/ -""" - -import os -os.environ.setdefault("DJANGO_SETTINGS_MODULE", "travis-ci.settings") - -from django.core.wsgi import get_wsgi_application -application = get_wsgi_application()