-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from BridgeCityBicycleCoop/infrastructure-simp…
…lification Infrastructure simplification
- Loading branch information
Showing
31 changed files
with
1,199 additions
and
400 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.6.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,31 @@ | ||
language: generic | ||
services: | ||
- docker | ||
before_install: | ||
- docker build --build-arg mailchimp_api_key=$MAILCHIMP_API_KEY --build-arg django_secret_key=$DJANGO_SECRET_KEY -t bcbc/workstand:production . | ||
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml run workstand python manage.py test | ||
- docker-compose -f docker-compose.yml -f docker-compose.prod.yml run workstand npm test -- --ci | ||
branches: | ||
only: | ||
- master | ||
after_success: | ||
- BRANCH=${TRAVIS_PULL_REQUEST_BRANCH:-$TRAVIS_BRANCH} | ||
- echo $BRANCH | ||
- if [ "$BRANCH" == "master" ]; then | ||
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"; | ||
docker push bcbc/workstand:production; | ||
fi | ||
jobs: | ||
include: | ||
- stage: test | ||
name: "Back End Tests" | ||
language: python | ||
python: | ||
- "3.6.6" | ||
cache: pip | ||
install: | ||
- cd bikeshop_project && npm install | ||
- cd .. | ||
- pip install pipenv | ||
- pipenv install --dev | ||
- cd bikeshop_project | ||
script: | ||
- pipenv run ./manage.py test | ||
- stage: test | ||
name: "Front End Tests" | ||
language: node_js | ||
node_js: | ||
- "7.9.0" | ||
cache: npm | ||
install: | ||
- cd bikeshop_project && npm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/+0Pwz7t4j5M79+XcF78dS7VQOzmrP/TdyWfsN4rZeUvl+b+owZKLv1uLG6kQhRI332fzCwtK+VejtBtjdoC9nq1KTOIHa6y10aswqGgfsPL4+6UOke/LZsgb9fqfiB44TYkn0dgfh1J/3P+hNtLOsm1Q2IZQvDU97CqdavfAlye4uKC/WlnY3fXeISEMeE57ZAu8Tz4IKrAIbg7mt7qFTmNqxUIvzfWO5ZaMQZhncRfIMajAUigXr9XjRkewo9cxF2cuDwllTVeY5MTrq8hTqlr0g/N5njS72KkLAzaXKUmzyTpfndrGKH5K2XiSGlpgOZ6ao/FOKr3TmzNV5fiOsLEr9Y2+Q3bgknOE=" | ||
on_success: always |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
[[source]] | ||
name = "pypi" | ||
url = "https://pypi.org/simple" | ||
verify_ssl = true | ||
|
||
[dev-packages] | ||
beautifulsoup4 = "*" | ||
channels = "==1.1.8" | ||
django-fsm = "==2.6.0" | ||
django-haystack = "==2.6.1" | ||
django-libsass = "==0.7" | ||
django-multiselectfield = "==0.1.7" | ||
django-webpack-loader = "*" | ||
django-widget-tweaks = "==1.4.1" | ||
djangorestframework = "*" | ||
djangorestframework-jwt = "==1.11.0" | ||
mailchimp3 = "==2.0.14" | ||
psycopg2 = "==2.7.1" | ||
python-dateutil = "==2.6.0" | ||
pytz = "==2017.2" | ||
requests = "*" | ||
coverage = "*" | ||
mock = "*" | ||
model-mommy = "==1.5.0" | ||
django-debug-toolbar = "*" | ||
django-cors-headers = "*" | ||
flake8 = "*" | ||
django_compressor = "==2.1.1" | ||
Django = "==1.11.20" | ||
PyYAML = "*" | ||
Whoosh = "==2.7.4" | ||
factory-boy = "*" | ||
|
||
[packages] | ||
beautifulsoup4 = "*" | ||
channels = "==1.1.8" | ||
django-fsm = "==2.6.0" | ||
django-haystack = "==2.6.1" | ||
django-libsass = "==0.7" | ||
django-multiselectfield = "==0.1.7" | ||
django-webpack-loader = "*" | ||
django-widget-tweaks = "==1.4.1" | ||
djangorestframework = "*" | ||
djangorestframework-jwt = "==1.11.0" | ||
mailchimp3 = "==2.0.14" | ||
psycopg2 = "==2.7.1" | ||
python-dateutil = "==2.6.0" | ||
pytz = "==2017.2" | ||
requests = "*" | ||
coverage = "*" | ||
mock = "*" | ||
gunicorn = "==19.4.5" | ||
rollbar = "==0.13.11" | ||
daphne = "==1.3.0" | ||
django_compressor = "==2.1.1" | ||
Django = "==1.11.20" | ||
PyYAML = "*" | ||
Whoosh = "==2.7.4" | ||
model_mommy = "==1.5.0" | ||
asgi-redis = "*" | ||
|
||
[requires] | ||
python_version = "3.6" |
Oops, something went wrong.