##// END OF EJS Templates
only ask for coverage when it works (not js)
Min RK -
Show More
@@ -1,45 +1,46 b''
1 1 # http://travis-ci.org/#!/ipython/ipython
2 2 language: python
3 3 python:
4 4 - 3.4
5 5 - 2.7
6 6 - 3.3
7 7 env:
8 8 - GROUP=js/base
9 9 - GROUP=js/notebook
10 10 - GROUP=js/services
11 11 - GROUP=js/tree
12 12 - GROUP=js/widgets
13 13 - GROUP=
14 14 before_install:
15 15 # workaround for https://github.com/travis-ci/travis-cookbooks/issues/155
16 16 - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm
17 17 # Pierre Carrier's PPA for PhantomJS and CasperJS
18 18 - sudo add-apt-repository -y ppa:pcarrier/ppa
19 19 # Needed to get recent version of pandoc in ubntu 12.04
20 20 - sudo add-apt-repository -y ppa:marutter/c2d4u
21 21 - sudo apt-get update
22 22 - sudo apt-get install pandoc casperjs libzmq3-dev
23 23 - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels
24 24 - 'if [[ $GROUP == js* ]]; then python -m IPython.external.mathjax; fi'
25 - 'if [[ $GROUP != js* ]]; then COVERAGE="--coverage xml"; fi'
25 26 install:
26 27 - pip install coveralls
27 28 - pip install -f travis-wheels/wheelhouse file://$PWD#egg=ipython[all]
28 29 script:
29 - cd /tmp && iptest $GROUP --coverage xml && cd -
30 - cd /tmp && iptest $GROUP $COVERAGE && cd -
30 31
31 32 matrix:
32 33 exclude:
33 34 - python: 3.3
34 35 env: GROUP=js/base
35 36 - python: 3.3
36 37 env: GROUP=js/notebook
37 38 - python: 3.3
38 39 env: GROUP=js/tree
39 40 - python: 3.3
40 41 env: GROUP=js/widgets
41 42
42 43 after_success:
43 44 - cp /tmp/ipy_coverage.xml ./
44 45 - cp /tmp/.coverage ./
45 46 - coveralls
General Comments 0
You need to be logged in to leave comments. Login now