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