[PATCH 1/4] travis: Use tox-travis
Daniel Axtens
dja at axtens.net
Tue Nov 1 08:07:24 AEDT 2016
I did not know this was a thing. Excellent!
I can see that it works at
https://travis-ci.org/getpatchwork/patchwork/branches
Acked-by: Daniel Axtens <dja at axtens.net>
Regards,
Daniel
Stephen Finucane <stephen at that.guru> writes:
> This simplifies our .travis.yml file
>
> Signed-off-by: Stephen Finucane <stephen at that.guru>
> Cc: Daniel Axtens <dja at axtens.net>
> ---
> .travis.yml | 24 +++++++-----------------
> 1 file changed, 7 insertions(+), 17 deletions(-)
>
> diff --git a/.travis.yml b/.travis.yml
> index 6e5fe52..80f5634 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -1,5 +1,9 @@
> language: python
> -python: 3.5
> +
> +python:
> + - 2.7
> + - 3.4
> + - 3.5
>
> services:
> - mysql
> @@ -9,26 +13,12 @@ env:
> - PW_TEST_DB_USER=travis
> - PW_TEST_DB_PASS=""
> - PW_SKIP_BROWSER_TESTS=yes
> - matrix:
> - - TOX_ENV=py27-django16
> - - TOX_ENV=py27-django17
> - - TOX_ENV=py27-django18
> - - TOX_ENV=py27-django19
> - - TOX_ENV=py27-django110
> - - TOX_ENV=py34-django16
> - - TOX_ENV=py34-django17
> - - TOX_ENV=py34-django18
> - - TOX_ENV=py34-django19
> - - TOX_ENV=py34-django110
> - - TOX_ENV=py35-django18
> - - TOX_ENV=py35-django19
> - - TOX_ENV=py35-django110
>
> before_script:
> - mysql -e 'create database patchwork character set utf8;'
>
> install:
> - - pip install tox
> + - pip install tox-travis
>
> script:
> - - tox -e $TOX_ENV
> + - tox
> --
> 2.7.4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/patchwork/attachments/20161101/ac8800b1/attachment.sig>
More information about the Patchwork
mailing list