Travis: use Ubuntu Xenial (#302)

Closes #302
This commit is contained in:
Daniel Hahler
2019-02-27 20:23:09 +01:00
committed by Cristi Vîjdea
parent e538e0713a
commit 5c2c39c82d
+3 -7
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