Skip to content
Permalink
Browse files

Initial commit.

  • Loading branch information
brockfanning committed Oct 20, 2018
0 parents commit c668a137c13a542f480233edcff3476972c2b897
Showing 499 changed files with 8,373 additions and 0 deletions.
@@ -0,0 +1,108 @@
# Custom
_site/

# Default Python
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
@@ -0,0 +1,38 @@
language: python
python:
- "3.6"
env:
- SDG_REF="master" API_VERSION=""
- SDG_REF="develop" API_VERSION="dev"
# - SDG_REF="hotfix/25" API_VERSION="test"
matrix:
allow_failures:
- env: SDG_REF="develop"
sudo: false
git:
depth: false

branches:
only:
- master
- develop
install:
- pip install -r scripts/requirements.txt
- pip install git+git://github.com/ONSdigital/sdg-build@${SDG_REF}
before_script:
- chmod +x ./scripts/*.py
- chmod +x ./scripts/deploy/*.sh
script:
- python ./scripts/check_data.py
- python ./scripts/build_data.py
deploy:
- provider: script
script: scripts/deploy/deploy_staging.sh
skip_cleanup: true
on:
branch: develop
- provider: script
script: scripts/deploy/deploy.sh
skip_cleanup: true
on:
branch: master
@@ -0,0 +1,3 @@
# Sustainable Development Goals - Data starter

This is a starter repository to help in implementing the [sdg-theme](https://github.com/ONSdigital/sdg-theme) platform. See there for documentation.

0 comments on commit c668a13

Please sign in to comment.
You can’t perform that action at this time.