We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 809a929 commit 7493894Copy full SHA for 7493894
.travis.yml
@@ -9,6 +9,7 @@ python:
9
- '3.6-dev'
10
env:
11
- TOXENV=py-test
12
+- SELFINSTALL=1
13
14
matrix:
15
include:
@@ -22,7 +23,7 @@ cache:
22
23
- $Home/.cache/pip
24
install: pip install tox
25
script:
-- tox -e $TOXENV
26
+- python testing/runtests_travis.py
27
28
29
testing/runtests_travis.py
@@ -0,0 +1,14 @@
1
+
2
+from subprocess import call
3
4
+import os
5
6
+if os.environ['TOXENV']:
7
+ import tox
8
+ tox.cmdline()
+elif os.environ['SELFINSTALL']:
+ call('python setup.py sdist', shell=True)
+ call('easy_install dist/*', shell=True)
+ import pkg_ressources
+ dist = pkg_ressources.get_distribution('setuptools_scm')
+ assert dist.version != '0.0'
0 commit comments