Commit Graph

899 Commits

Author SHA1 Message Date
btknu
6e72169ffe Add missing script key to Travis CI config (#1950)
* Add failing test for travis.yml

I see three options to test travis.yml :

1. Testing that the YAML contains relevant value. Least useful and least
reliable, but simplest to implement.

2. Testing that the YAML is valid TravisCI YAML. Unfortunately this is
difficult / impossible. Doing 'travis lint' would succeed, this command
does not check for 'script' key presence and wouldn't be useful for us.

We could use 'travis-build' to verify that the YAML can be converted to
a worker config, but as of now 'travis-build' doesn't work out of the
box.

There is a new tool for validating travis YAML files 'travis-yml', but
as of now it's a ruby-only library and it's still a work in progress.

3. Running Travis CI task based on the generated YAML. This seems the
best approach, however since cookiecutter-django itself uses Travis CI,
that would require running Travis CI from within Travis CI.

Scheduling Travis CI job without a github push still requires a public
github repo, which is something that we can't generate on demand.

Given that I'm opting to use approach 1.

* Adds missing config to generated .travis.yml

The keys added are as follows:

1. 'script'

Required by Travis, cookiecutter-django used to provide it until it has
been removed together with hitch.

I'm assuming hitch has been replaced with pytest, I'm setting pytest as
the new value for the 'script' key.

2. 'install'

Not required by Travis, but necessary in our case; installs test
libraries, mostly pytest.

As of now this points to 'local.txt' requirements file. There used to be
a separate 'test.txt' requirements file but it has been decided to merge
it with 'local.txt', see discussion in
https://github.com/pydanny/cookiecutter-django/pull/1557 .

* Update CONTRIBUTORS.rst
2019-03-05 22:10:45 -03:00
keithjeb
aea5c807f6 Change eager celery setting in local Docker (#1945)
[//]: # (Thank you for helping us out: your efforts mean great deal to the project and the community as a whole!)

[//]: # (Before you proceed:)

[//]: # (1. Make sure to add yourself to `CONTRIBUTORS.rst` through this PR provided you're contributing here for the first time)
[//]: # (2. Don't forget to update the `docs/` presuming others would benefit from a concise description of whatever that you're proposing)


## Description

[//]: # (What's it you're proposing?)

Added a note around CELERY_TASK_ALWAYS_EAGER = True in docker config for local development. This causes tasks to be executed on the 'main' thread rather than by the workers. I understand why that might be desirable, but thought it worth calling out incase (like me) it makes people think something is broken.


## Rationale

[//]: # (Why does the project need that?)

Ease of use/troubleshooting


## Use case(s) / visualization(s)

[//]: # ("Better to see something once than to hear about it a thousand times.")
2019-03-02 13:51:30 +00:00
Anna Sidwell
b6b7176d02 Make requested changes:
* Reorder meta tasks to the bottom
* Fix JS compilation issue
* Replace strings concatenation with templates
2019-02-27 10:11:20 +11:00
Anna Sidwell
2676401ed7 Update Gulp & other dependencies 2019-02-23 18:47:30 +11:00
pyup.io bot
1c11f0950f Update django from 2.0.10 to 2.0.13 (#1936) 2019-02-16 14:34:11 +03:00
pyup-bot
9e2d335ed3 Update mypy from 0.660 to 0.670 2019-02-08 16:28:37 -08:00
Bruno Alla
7fe87d9c97
Merge pull request #1925 from pydanny/pyup-update-pytest-django-3.4.5-to-3.4.7
Update pytest-django to 3.4.7
2019-02-05 10:26:10 +01:00
Bruno Alla
ca528c482c
Merge pull request #1926 from pydanny/pyup-update-flake8-3.7.4-to-3.7.5
Update flake8 to 3.7.5
2019-02-05 10:25:50 +01:00
pyup-bot
06a96b68dc Update sphinx from 1.8.3 to 1.8.4 2019-02-04 18:46:40 -08:00
pyup-bot
fe81992501 Update flake8 from 3.7.4 to 3.7.5 2019-02-04 18:46:34 -08:00
pyup-bot
6050368df0 Update pytest-django from 3.4.5 to 3.4.7 2019-02-03 13:54:30 -08:00
pyup-bot
8774ede3b0 Update flake8 from 3.7.3 to 3.7.4 2019-02-01 06:53:37 -08:00
Bruno Alla
65d2ce07fb
Merge pull request #1916 from pydanny/pyup-update-django-extensions-2.1.4-to-2.1.5
Update django-extensions to 2.1.5
2019-01-31 16:53:04 +01:00
Bruno Alla
11e7adfbd4
Merge pull request #1920 from pydanny/pyup-update-flake8-3.6.0-to-3.7.3
Update flake8 to 3.7.3
2019-01-31 16:52:30 +01:00
pyup-bot
43bfd66aa0 Update flake8 from 3.6.0 to 3.7.3 2019-01-31 05:23:23 -08:00
pyup-bot
8c7a3613ba Update pytest from 4.1.1 to 4.2.0 2019-01-30 16:40:23 -08:00
Fábio C. Barrionuevo da Luz
156afe675b
Merge pull request #1907 from pydanny/pyup-update-djangorestframework-3.9.0-to-3.9.1
Update djangorestframework to 3.9.1
2019-01-30 17:08:42 -03:00
pyup-bot
0ef965cbfd Update django-extensions from 2.1.4 to 2.1.5 2019-01-30 11:53:28 -08:00
pyup-bot
a7af2d5153 Update psycopg2-binary from 2.7.6.1 to 2.7.7 2019-01-22 11:58:06 -08:00
pyup.io bot
563ca77480 Update mypy from 0.650 to 0.660 (#1908) 2019-01-22 14:30:50 +03:00
pyup.io bot
e2f46e392e Update argon2-cffi from 18.3.0 to 19.1.0 (#1909) 2019-01-22 14:30:37 +03:00
pyup-bot
cf88911c36 Update djangorestframework from 3.9.0 to 3.9.1 2019-01-16 09:20:56 -08:00
pyup.io bot
b0380da4c0 Update pytz from 2018.7 to 2018.9 (#1902) 2019-01-13 16:48:23 +03:00
pyup.io bot
e5f779c9cc Update pytest-django from 3.4.4 to 3.4.5 (#1903) 2019-01-13 16:48:11 +03:00
pyup-bot
33d03e06ab Update pytest from 4.1.0 to 4.1.1 2019-01-12 23:34:49 -08:00
pyup.io bot
34620a1c57 Update pillow from 5.3.0 to 5.4.1 (#1901) 2019-01-07 02:04:50 +03:00
pyup.io bot
2bf8f286e4 Update pytest to 4.1.0 (#1900)
* Update pytest from 4.0.2 to 4.1.0

* Update pytest from 4.0.2 to 4.1.0
2019-01-07 02:04:14 +03:00
pyup-bot
530e94d30e Update django from 2.0.9 to 2.0.10 2019-01-04 13:34:34 -08:00
pyup.io bot
83150e9a55 Update python-slugify from 2.0.0 to 2.0.1 (#1898) 2019-01-04 10:17:12 +08:00
Fábio C. Barrionuevo da Luz
cfe8048929
Merge pull request #1896 from pydanny/pyup-update-sphinx-1.8.2-to-1.8.3
Update sphinx to 1.8.3
2018-12-27 12:00:30 -03:00
pyup-bot
d35bad4f99 Update sphinx from 1.8.2 to 1.8.3 2018-12-25 15:42:12 -08:00
pyup-bot
23f0f6e015 Update python-slugify from 1.2.6 to 2.0.0 2018-12-25 15:42:08 -08:00
pyup-bot
09f4b8225c Update raven from 6.9.0 to 6.10.0 2018-12-19 07:53:59 -08:00
Bruno Alla
c9f6159d62
Merge pull request #1883 from pydanny/pyup-update-django-debug-toolbar-1.10.1-to-1.11
Update django-debug-toolbar to 1.11
2018-12-17 14:25:48 +00:00
Bruno Alla
78a26b2690
Merge branch 'master' into pyup-update-mypy-0.641-to-0.650 2018-12-17 14:17:38 +00:00
pyup-bot
553e752a6b Update pytest from 4.0.1 to 4.0.2 2018-12-14 18:35:57 -08:00
pyup-bot
6fcded1ec9 Update mypy from 0.641 to 0.650 2018-12-07 13:33:34 -08:00
pyup-bot
928bf6fe4e Update django-debug-toolbar from 1.10.1 to 1.11 2018-12-03 11:28:28 -08:00
Tubo Shi
a1508f2600 updated spacing utility class name 2018-11-30 18:12:08 +13:00
pyup-bot
ebaddf6320 Update pytest from 4.0.0 to 4.0.1 2018-11-24 09:32:08 -08:00
pyup.io bot
e97304387d Update django-extensions from 2.1.3 to 2.1.4 (#1875) 2018-11-22 15:56:54 +00:00
Bruno Alla
6e85ee4aa9
Merge pull request #1869 from Egregors/master
Pinning redis version to >=2.10.6, <3
2018-11-20 16:17:38 +00:00
Bruno Alla
5df8a5cf64
Merge pull request #1852 from hpbruna/patch-1
CSRF in header
2018-11-20 09:57:49 +00:00
pyup.io bot
a598a0a67a Update whitenoise from 4.1.1 to 4.1.2 (#1872) 2018-11-20 10:10:30 +08:00
pyup-bot
0d5ce3c032 Update django-redis from 4.9.0 to 4.10.0 2018-11-19 02:19:54 -08:00
Vadim Iskuchekov
e407eb9c13
Clean up, version restriction not only for pyup
Default pip ignored # pyup notation. So now version restriction sets decidedly
2018-11-18 18:49:55 +01:00
Vadim Iskuchekov
ff6d331a20
Pinning redis version to >=2.10.6, <3
Fix #1868
2018-11-18 17:06:07 +01:00
pyup.io bot
f439e935a8 Update pytest to 4.0.0 (#1867)
* Update pytest from 3.10.1 to 4.0.0

* Update pytest from 3.10.1 to 4.0.0
2018-11-17 09:59:09 +00:00
pyup.io bot
c6fd1c1905 Update pytest-django from 3.4.3 to 3.4.4 (#1864) 2018-11-13 15:24:27 +00:00
Bruno Alla
3aa289e79b
Merge pull request #1861 from carlmjohnson/master
Settings: Use security settings in dev as well as prod
2018-11-13 12:46:54 +00:00