.travis.yml
45 lines
| 1.3 KiB
| text/x-yaml
|
YamlLexer
|
r7633 | # http://travis-ci.org/#!/ipython/ipython | ||
language: python | ||||
python: | ||||
|
r16540 | - 3.4 | ||
|
r7633 | - 2.7 | ||
|
r8987 | - 3.3 | ||
|
r16471 | env: | ||
|
r19829 | - GROUP=js/base | ||
- GROUP=js/notebook | ||||
|
r19832 | - GROUP=js/services | ||
|
r19829 | - GROUP=js/tree | ||
- GROUP=js/widgets | ||||
|
r16540 | - GROUP= | ||
|
r7633 | before_install: | ||
|
r13267 | # workaround for https://github.com/travis-ci/travis-cookbooks/issues/155 | ||
- sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm | ||||
|
r13273 | # Pierre Carrier's PPA for PhantomJS and CasperJS | ||
|
r18566 | - sudo add-apt-repository -y ppa:pcarrier/ppa | ||
|
r18436 | # Needed to get recent version of pandoc in ubntu 12.04 | ||
|
r18566 | - sudo add-apt-repository -y ppa:marutter/c2d4u | ||
- sudo apt-get update | ||||
- sudo apt-get install pandoc casperjs libzmq3-dev | ||||
|
r18565 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels | ||
|
r18738 | - 'if [[ $GROUP == js* ]]; then python -m IPython.external.mathjax; fi' | ||
|
r7633 | install: | ||
|
r19539 | - pip install coveralls | ||
|
r18738 | - pip install -f travis-wheels/wheelhouse file://$PWD#egg=ipython[all] | ||
|
r7633 | script: | ||
|
r19539 | - cd /tmp && iptest $GROUP --coverage xml && cd - | ||
|
r16502 | |||
matrix: | ||||
exclude: | ||||
- python: 3.3 | ||||
|
r19829 | env: GROUP=js/base | ||
- python: 3.3 | ||||
env: GROUP=js/notebook | ||||
- python: 3.3 | ||||
env: GROUP=js/tree | ||||
- python: 3.3 | ||||
env: GROUP=js/widgets | ||||
|
r19539 | |||
after_success: | ||||
- cp /tmp/ipy_coverage.xml ./ | ||||
- cp /tmp/.coverage ./ | ||||
- coveralls | ||||