summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2019-12-19 19:14:45 -0500
committerWarren Weckesser <warren.weckesser@gmail.com>2019-12-19 21:07:48 -0500
commitf78510c9b0b2297533dedbb41fe6a510a66ed6b2 (patch)
treeb2aaa50934ec67d4f10237a6580b27f7948f1787
parenta9bb517554004cf2ce7a4be93bcbfb63ee149844 (diff)
downloadnumpy-f78510c9b0b2297533dedbb41fe6a510a66ed6b2.tar.gz
MAINT: CI: Clean up .travis.yml
The comments in .travis.yml say # After changing this file, check it on: # http://lint.travis-ci.org/ When I do that, I get the following from the linter: ``` [warn] on root: unknown key "stage" (Comprehensive tests) [info] on root: the key matrix is an alias for jobs, using jobs [info] on root: missing os, using the default "linux" ``` This commit fixes the issues reported in those messages.
-rw-r--r--.travis.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 4afac959d..5ee27edb7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,7 @@
# http://lint.travis-ci.org/
language: python
group: travis_latest
+os: linux
dist: xenial
# Travis whitelists the installable packages, additions can be requested
@@ -18,8 +19,6 @@ cache:
directories:
- $HOME/.cache/pip
-stage: Comprehensive tests
-
stages:
# Do the style check and a single test job, don't proceed if it fails
- name: Initial tests
@@ -37,13 +36,14 @@ env:
iFWt9Ka92CaqYdU7nqfWp9VImSndPmssjmCXJ1v1IjZPAM\
ahp7Qnm0rWRmA0z9SomuRUQOJQ6s684vU="
-matrix:
+jobs:
include:
# Do all python versions without environment variables set
- stage: Initial tests
python: 3.8
- - python: 3.6
+ - stage: Comprehensive tests
+ python: 3.6
- python: 3.7
- python: 3.6