summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Bishop <stuart.bishop@canonical.com>2020-06-15 17:01:00 +1000
committerStuart Bishop <stuart.bishop@canonical.com>2020-06-15 18:05:23 +1000
commit55e2d1c47162948bc9254d3352b95c3bd5d21a4e (patch)
tree8c38f36a137f1409691e8829198366d8011fc2b7
parent13b50052488150498a6bef400a39ca507ca1e8a8 (diff)
downloadpytz-git-55e2d1c47162948bc9254d3352b95c3bd5d21a4e.tar.gz
Update travis config to bionic environment
-rw-r--r--.travis.yml49
1 files changed, 40 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index 4099ea3..532b224 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,44 @@
# vim: set filetype=yaml sw=2:
sudo: required
-dist: trusty
-before_install:
- - sudo locale-gen
- - sudo add-apt-repository -y ppa:deadsnakes/ppa
- - sudo apt-get update -y -qq
- - sudo apt-get install -y python-all python-all-dev python3-all python3-all-dev build-essential python-setuptools python3-setuptools python-wheel python3-wheel python3-docutils python3-sphinx python3-flake8 python-flake8 python2.4-complete python2.5-complete python2.6-complete python3.1-complete python3.2-complete python3.3-complete python3.5-complete python2.4-gdbm python2.4-gdbm-dbg python3.6 wget python-pip python3-pip python3.7 python3.7-dev python3.7-distutils python3.8 python3.8-dev python3.8-distutils python3.9 python3.9-dev python3.9-distutils
- - sudo pip install wheel
- - sudo pip3 install wheel
-
+dist: bionic
+addons:
+ apt:
+ sources:
+ - deadsnakes
+ update: true
+ packages:
+ - wget
+ - build-essential
+ - python-all
+ - python-all-dev
+ - python-setuptools
+ - python-pip
+ - python-wheel
+ - python-flake8
+ - python3-all
+ - python3-all-dev
+ - python3-setuptools
+ - python3-pip
+ - python3-wheel
+ - python3-flake8
+ - python3-docutils
+ - python3-sphinx
+ - python2.4-complete
+ - python2.4-gdbm
+ - python2.4-gdbm-dbg
+ - python2.5-complete
+ - python2.6-complete
+ - python3.1-complete
+ - python3.2-complete
+ - python3.3-complete
+ - python3.4-complete
+ - python3.5-complete
+ - python3.6
+ - python3.7
+ - python3.7-dev
+ - python3.8
+ - python3.8-dev
+ - python3.9
+ - python3.9-dev
install: true
script: make test TESTARGS=