Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
brockfanning committed Oct 20, 2018
0 parents commit c668a13
Show file tree
Hide file tree
Showing 499 changed files with 8,373 additions and 0 deletions.
108 changes: 108 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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/
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Loading

0 comments on commit c668a13

Please sign in to comment.