@@ -3,37 +3,50 @@ language: python
3
3
python :
4
4
- 2.6
5
5
- 2.7
6
- - 3.1
6
+ - 3.1 # travis will soon EOL this
7
7
- 3.2
8
8
- 3.3
9
9
10
+ env :
11
+ global :
12
+ - # need at least this so travis page will show env column
13
+
10
14
matrix :
11
15
include :
12
16
- python : 2.7
13
17
env : VBENCH=true
18
+ - python : 2.7
19
+ env : FULL_DEPS=true
20
+ - python : 3.2
21
+ env : FULL_DEPS=true
14
22
15
23
allow_failures :
16
- - python : 3.3 # until travis upgrade to 1.8.4
17
24
- python : 2.7
18
25
env : VBENCH=true
26
+ - python : 3.2
27
+ env : FULL_DEPS=true
19
28
20
- install :
21
- - virtualenv --version
29
+ # allow importing from site-packages,
30
+ # so apt-get python-x works for system pythons
31
+ # That's 2.7/3.2 on Ubuntu 12.04
32
+ virtualenv :
33
+ system_site_packages : true
34
+
35
+ before_install :
36
+ - echo "Waldo1"
37
+ - echo $VIRTUAL_ENV
22
38
- date
23
- - whoami
24
- - pwd
25
- - echo $VBENCH
26
- # install 1.7.0b2 for 3.3, and pull a version of numpy git master
27
- # with a alternate fix for detach bug as a temporary workaround
28
- # for the others.
29
- - ' if [ $TRAVIS_PYTHON_VERSION == "3.3" ]; then pip uninstall numpy; pip install https://github.com/numpy/numpy/archive/v1.7.0b2.tar.gz; fi '
30
- - ' if [ $TRAVIS_PYTHON_VERSION == "3.2" ] || [ $TRAVIS_PYTHON_VERSION == "3.1" ]; then pip install https://github.com/y-p/numpy/archive/1.6.2_with_travis_fix.tar.gz; fi '
31
- - ' if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then pip install numpy; fi ' # should be nop if pre-installed
32
- - pip install --use-mirrors cython nose pytz python-dateutil xlrd openpyxl;
39
+ - export PIP_ARGS=-q # comment this this to debug travis install issues
40
+ - export APT_ARGS=-qq # comment this to debug travis install issues
41
+ # - set -x # enable this to see bash commands
42
+ - source ci/before_install.sh # we need to source this to bring in the env
43
+ - python -V
44
+
45
+ install :
46
+ - echo "Waldo2"
47
+ - ci/ install.sh
48
+ - ci/print_versions.py
33
49
34
50
script :
35
- - python setup.py build_ext install
36
- - ' if [ x"$VBENCH" != x"true" ]; then nosetests --exe -w /tmp -A "not slow" pandas; fi'
37
- - pwd
38
- - ' if [ x"$VBENCH" == x"true" ]; then pip install sqlalchemy git+git://github.com/pydata/vbench.git; python vb_suite/perf_HEAD.py; fi'
39
- - python -c "import numpy;print(numpy.version.version)"
51
+ - echo "Waldo3"
52
+ - ci/script.sh
0 commit comments