Travis: use Ubuntu Xenial (#302)

Closes #302
master
Daniel Hahler 2019-02-27 20:23:09 +01:00 committed by Cristi Vîjdea
parent e538e0713a
commit 5c2c39c82d
1 changed files with 3 additions and 7 deletions

View File

@ -4,21 +4,19 @@ python:
- '3.4' - '3.4'
- '3.5' - '3.5'
- '3.6' - '3.6'
- '3.7'
dist: xenial
cache: pip cache: pip
jobs: jobs:
include: include:
- stage: test
python: '3.7'
dist: xenial
- python: '3.6' - python: '3.6'
env: TOXENV=docs env: TOXENV=docs
- python: '3.7' - python: '3.7'
dist: xenial
env: TOXENV=djmaster env: TOXENV=djmaster
- python: '3.7' - python: '3.7'
dist: xenial
env: TOXENV=lint env: TOXENV=lint
- stage: publish - stage: publish
@ -65,7 +63,6 @@ after_success:
branches: branches:
only: only:
- master - master
- /^release\/.*$/
- /^v?\d+\.\d+(\.\d+)?(-?\S+)?$/ - /^v?\d+\.\d+(\.\d+)?(-?\S+)?$/
stages: stages:
@ -73,7 +70,6 @@ stages:
- name: publish - name: publish
if: tag IS present if: tag IS present
notifications: notifications:
email: email:
on_success: always on_success: always