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