Runs hack/* scripts as individual build step
language: python
dist: xenial
-matrix:
+stages:
+ - verify boilerplate
+ - test
+
+install:
+ - pip install tox
+
+script:
+ - ./run_tox.sh tox
+
+jobs:
include:
- - python: 2.7
+ - stage: verify boilerplate
+ script: ./hack/verify-boilerplate.sh
+ python: 3.7
+ - stage: test
+ python: 2.7
env: TOXENV=py27
- python: 2.7
env: TOXENV=py27-functional
@@ -26,11 +40,3 @@ matrix:
env: TOXENV=py37
- python: 3.7
env: TOXENV=py37-functional
-
-install:
- - pip install tox
-
-script:
- - ./run_tox.sh tox
- - ./hack/verify-boilerplate.sh
-
