Skip to content

Commit 93bbbd5

Browse files
committed
🎨 allow overriding travis test command
Closes #31
1 parent 9a193db commit 93bbbd5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

templates/travis.yml.jj2

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
{% else %}
44
{% set lint = 'flake8' %}
55
{% endif %}
6-
76
sudo: false
87
dist: xenial
98
language: python
@@ -50,8 +49,6 @@ jobs:
5049

5150
stage: test
5251

53-
script: make test
54-
5552
before_install:
5653
{% block custom_install %}
5754
{% endblock%}
@@ -62,6 +59,6 @@ before_install:
6259
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
6360
- pip install -r tests/requirements.txt
6461
script:
65-
- make test
62+
- {{ test_command | default('make test') }}
6663
after_success:
6764
codecov

0 commit comments

Comments
 (0)