-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5d959e6
Showing
1,168 changed files
with
205,791 additions
and
0 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,37 @@ | ||
engines: | ||
eslint: | ||
enabled: true | ||
channel: eslint-4 | ||
isort: | ||
enabled: true | ||
channel: beta | ||
pep8: | ||
enabled: true | ||
pylint: | ||
enabled: true | ||
channel: beta | ||
plugins: | ||
- celery | ||
- django | ||
checks: | ||
import-error: | ||
enabled: false | ||
tslint: | ||
enabled: true | ||
config: tslint.json | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
python: | ||
mass_threshold: 100 | ||
python_version: 3 | ||
exclude_patterns: | ||
- ".*" | ||
- "**/__pycache__/" | ||
- "**/migrations/" | ||
- "node_modules/" | ||
- "tests/" | ||
ratings: | ||
paths: | ||
- saleor/** |
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,40 @@ | ||
*.py[cod] | ||
.* | ||
!.babelrc | ||
!.circleci | ||
!.codeclimate.yml | ||
!.coveragerc | ||
!.dockerignore | ||
!.eslintrc.json | ||
!.flowconfig | ||
!.gqlconfig | ||
!.github | ||
!.gitignore | ||
!.nvmrc | ||
!.npmrc | ||
!.plop | ||
!.pylintrc | ||
!.travis* | ||
!.tx | ||
*.css | ||
*.log | ||
*.pot | ||
*.pyc | ||
local_settings.py | ||
__pycache__/ | ||
build/ | ||
coverage/ | ||
dist/ | ||
*\.egg* | ||
# data | ||
/docs/_build/ | ||
/media/ | ||
/node_modules/ | ||
/static/ | ||
/saleor/static/assets/ | ||
webpack-bundle.json | ||
/templates/templated_email/compiled/* | ||
!/templates/templated_email/compiled/.gitkeep | ||
|
||
# Exported results file | ||
django-queries-results.html |
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 @@ | ||
puppeteer_skip_chromium_download = true |
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,73 @@ | ||
dist: xenial | ||
language: python | ||
sudo: false | ||
|
||
python: | ||
- "3.6" | ||
- "3.7" | ||
|
||
branches: | ||
only: | ||
- master | ||
- /next\/.*/ | ||
|
||
cache: | ||
pip: true | ||
directories: | ||
- node_modules | ||
- $HOME/.cache/pip | ||
|
||
install: | ||
- pip install -U pip setuptools wheel | ||
- pip install tox-travis pytest-django-queries | ||
- git clone https://github.com/NyanKiyoshi/pytest-django-queries-ci-tools.git --depth 1 ../queries-ci-tools | ||
- > | ||
if [ -n "$DJANGO" ]; then | ||
nvm install 10 \ | ||
&& npm i \ | ||
&& npm run build-assets --production \ | ||
&& npm run build-emails | ||
fi | ||
script: | ||
- > | ||
if [ -n "$DJANGO" ]; then | ||
npm run test | ||
fi | ||
- tox | ||
|
||
env: | ||
global: | ||
- DATABASE_URL="postgres://postgres@localhost:5432/saleor" | ||
- SECRET_KEY="irrelevant" | ||
- DIFF_RESULTS_BASE_URL="http://dhrwmpu5reeyd.cloudfront.net" | ||
- QUERIES_RESULTS_PATH=/tmp/queries-results.json | ||
matrix: | ||
- DJANGO="2.2" | ||
- DJANGO="master" | ||
|
||
matrix: | ||
fast_finish: true | ||
include: | ||
- env: TOXENV=black | ||
python: "3.6" | ||
- env: TOXENV=flake8 | ||
python: "3.6" | ||
- env: TOXENV=check_gql_schema | ||
python: "3.6" | ||
- env: TOXENV=check_migrations | ||
python: "3.6" | ||
allow_failures: | ||
- python: "3.6" | ||
env: DJANGO="master" | ||
- python: "3.7" | ||
env: DJANGO="master" | ||
|
||
services: | ||
- postgresql | ||
|
||
addons: | ||
postgresql: 9.4 | ||
|
||
after_success: | ||
- ../queries-ci-tools/handle-event.sh |
Oops, something went wrong.