Print versions of software used in Travis output

This commit is contained in:
Stefan van der Walt
2014-05-05 12:56:07 +02:00
parent 9142c51cbb
commit b03d59f736
3 changed files with 29 additions and 0 deletions
+3
View File
@@ -61,6 +61,9 @@ before_install:
- python check_bento_build.py
install:
- tools/header.py "Dependency versions"
- tools/build_versions.py
- python setup.py build_ext --inplace
script:
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env python
from __future__ import print_function
import numpy as np
import scipy as sp
import matplotlib as mpl
import six
for m in (np, sp, mpl, six):
print(m.__name__.rjust(10), ' ', m.__version__)
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env python
from __future__ import print_function
import sys
screen_width = 50
print('*' * screen_width)
if len(sys.argv) > 1:
header = ' '.join(sys.argv[1:])
print('*', header.center(screen_width - 4), '*')
print('*' * screen_width)