##// END OF EJS Templates
no longer need 3 suffix on travis, tox
MinRK -
Show More
@@ -1,19 +1,18 b''
1 # http://travis-ci.org/#!/ipython/ipython
1 # http://travis-ci.org/#!/ipython/ipython
2 language: python
2 language: python
3 python:
3 python:
4 - 2.7
4 - 2.7
5 - 3.3
5 - 3.3
6 before_install:
6 before_install:
7 # workaround for https://github.com/travis-ci/travis-cookbooks/issues/155
7 # workaround for https://github.com/travis-ci/travis-cookbooks/issues/155
8 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
8 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
9 - easy_install -q pyzmq
9 - easy_install -q pyzmq
10 - pip install jinja2 sphinx pygments tornado requests
10 - pip install jinja2 sphinx pygments tornado requests
11 # Pierre Carrier's PPA for PhantomJS and CasperJS
11 # Pierre Carrier's PPA for PhantomJS and CasperJS
12 - sudo add-apt-repository -y ppa:pcarrier/ppa
12 - sudo add-apt-repository -y ppa:pcarrier/ppa
13 - sudo apt-get update
13 - sudo apt-get update
14 - sudo apt-get install pandoc casperjs
14 - sudo apt-get install pandoc casperjs
15 install:
15 install:
16 - python setup.py install -q
16 - python setup.py install -q
17 script:
17 script:
18 - if [[ $TRAVIS_PYTHON_VERSION == '2.'* ]]; then cd /tmp; iptest; fi
18 - cd /tmp && iptest
19 - if [[ $TRAVIS_PYTHON_VERSION == '3.'* ]]; then cd /tmp; iptest3; fi
@@ -1,29 +1,24 b''
1 # Tox (http://tox.testrun.org/) is a tool for running tests
1 # Tox (http://tox.testrun.org/) is a tool for running tests
2 # in multiple virtualenvs. This configuration file will run the
2 # in multiple virtualenvs. This configuration file will run the
3 # test suite on all supported python versions. To use it, "pip install tox"
3 # test suite on all supported python versions. To use it, "pip install tox"
4 # and then run "tox" from this directory.
4 # and then run "tox" from this directory.
5
5
6 [tox]
6 [tox]
7 envlist = py27, py33
7 envlist = py27, py33
8
8
9 [testenv]
9 [testenv]
10 deps =
10 deps =
11 nose
11 nose
12 tornado
12 tornado
13 jinja2
13 jinja2
14 sphinx
14 sphinx
15 pygments
15 pygments
16 # To avoid loading IPython module in the current directory, change
16 # To avoid loading IPython module in the current directory, change
17 # current directory to ".tox/py*/tmp" before running test.
17 # current directory to ".tox/py*/tmp" before running test.
18 changedir = {envtmpdir}
18 changedir = {envtmpdir}
19
19
20 commands =
20 commands =
21 # As pip does not treat egg, use easy_install to install PyZMQ.
21 # As pip does not treat egg, use easy_install to install PyZMQ.
22 # See also: https://github.com/zeromq/pyzmq
22 # See also: https://github.com/zeromq/pyzmq
23 easy_install -q pyzmq
23 easy_install -q pyzmq
24 iptest --all
24 iptest --all
25
26 [testenv:py33]
27 commands =
28 easy_install -q pyzmq
29 iptest3 --all
General Comments 0
You need to be logged in to leave comments. Login now