summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2018-12-02 11:28:47 -0500
committerRhys Kidd <rhyskidd@gmail.com>2018-12-03 08:05:57 -0500
commit1eae4e3f78dd83253f4a1b4879f08fc4f61a5070 (patch)
tree6daf62512a45842f8f081bace727ca3e55d7c068
parent900a0bdf985d8e225c3d157d2c1ac635ae454b63 (diff)
travis: reflect new best-practice travis-ci configuration
Travis-CI has or will shortly make in early December 2018 a number of beneficial changes to their Linux continuous integration testing infrastructure [0][1]. An accompanying benefit of this change is that Ubuntu Xenial (16.04 LTS) is now supported. The benefits for piglit are primarily: * Testing against a more modern, supported Ubuntu Xenial (16.04 LTS). [2] * Removal of a corner-case for Python 3.7, making testing more consistent. * Modest speed improvements from Travis-CI's move to Linux infrastructure combined into one (virtualized), from two previously (virtualized and container-based). [0] https://blog.travis-ci.com/2018-10-04-combining-linux-infrastructures [1] https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration [2] https://docs.travis-ci.com/user/reference/xenial/ Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Reviewed-by: Andres Gomez <agomez@igalia.com>
-rw-r--r--.travis.yml9
1 files changed, 6 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 45b23f009..3043cd4ca 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,10 @@
-sudo: false
-os: linux
language: python
+
+os: linux
+
+# Use Ubuntu Xenial (16.04 LTS) environment.
+dist: xenial
+
cache:
- ccache
- pip
@@ -23,7 +27,6 @@ matrix:
env: TOX_ENV="py36-{generator,noaccel,accel-nix,streams}"
- python: 3.7
env: TOX_ENV="py37-{generator,noaccel,accel-nix,streams}"
- dist: xenial # required for Python 3.7 (travis-ci/travis-ci#9069)
- env: BUILD=cmake
install: