]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Add new maintenance branch format to Travis (#987)
authorKevin Brown <kevin-brown@users.noreply.github.com>
Tue, 7 May 2019 14:38:32 +0000 (10:38 -0400)
committerDavid Lord <davidism@gmail.com>
Tue, 7 May 2019 14:38:32 +0000 (10:38 -0400)
* Added new maintenance branch format to Travis

The maintenance branch format appeared to change from
`[version]-maintenance` to `[version].x` in the recent months, and
this broke Travis CI builds made to those branches. Because they
no longer meet the branch regex, the pull requests builds against
these branches were no longer being run.

This ads the regex for any branch which ends in `.x`, which should
catch the new pattern for maintenance branches.

* Use the branch regex from werkzeug

This is more specific to only catch version number branches.

* Sync with master

Apparently the build configuration for this branch is very old and doesn't match master at all.

.travis.yml

index 285333fd5b89d4c1472249ad3dd63cd656734345..a09622371982e303ceea3c56cbcdb559bd5e1f06 100644 (file)
@@ -1,14 +1,15 @@
+dist: xenial
 sudo: false
 language: python
 
 python:
+  - 3.7
   - 3.6
   - 3.5
   - 3.4
-  - 3.3
   - 2.7
-  - 2.6
-  - pypy
+  - pypy3.5-6.0
+  - pypy2.7-6.0
 
 env:
   - TOXENV=py,codecov
@@ -32,7 +33,7 @@ cache:
 branches:
   only:
     - master
-    - /^.*-maintenance$/
+    - /^\d+(\.\d+)*(\.x)?$/
 
 notifications:
   email: false
@@ -42,4 +43,4 @@ notifications:
     on_success: change
     on_failure: always
     use_notice: true
-    skip_join: true
+    skip_join: true
\ No newline at end of file