Show More
@@ -3,7 +3,11 b' language: python' | |||||
3 | python: |
|
3 | python: | |
4 | - 3.4 |
|
4 | - 3.4 | |
5 | - 2.7 |
|
5 | - 2.7 | |
|
6 | sudo: false | |||
6 | env: |
|
7 | env: | |
|
8 | global: | |||
|
9 | - PATH=$TRAVIS_BUILD_DIR/pandoc:$PATH | |||
|
10 | matrix: | |||
7 | - GROUP= |
|
11 | - GROUP= | |
8 | - GROUP=js/base |
|
12 | - GROUP=js/base | |
9 | - GROUP=js/notebook |
|
13 | - GROUP=js/notebook | |
@@ -11,19 +15,15 b' env:' | |||||
11 | - GROUP=js/tree |
|
15 | - GROUP=js/tree | |
12 | - GROUP=js/widgets |
|
16 | - GROUP=js/widgets | |
13 | before_install: |
|
17 | before_install: | |
14 | # workaround for https://github.com/travis-ci/travis-cookbooks/issues/155 |
|
18 | - 'if [[ $GROUP != js* ]]; then wget https://7de4dfdec62155b49b44-d726a73613a1989d29b147f20996e7c1.ssl.cf2.rackcdn.com/pandoc-1.12.3-linux-debian-x86_64.zip && unzip pandoc-1.12.3-linux-debian-x86_64.zip; fi' | |
15 | - sudo rm -rf /dev/shm && sudo ln -s /run/shm /dev/shm |
|
19 | - 'if [[ $GROUP == js* ]]; then wget https://7de4dfdec62155b49b44-d726a73613a1989d29b147f20996e7c1.ssl.cf2.rackcdn.com/mathjax.zip; fi' | |
16 | # Pierre Carrier's PPA for PhantomJS and CasperJS |
|
20 | - 'if [[ $GROUP == js* ]]; then npm install -g casperjs; fi' | |
17 | - sudo add-apt-repository -y ppa:pcarrier/ppa |
|
|||
18 | # Needed to get recent version of pandoc in ubntu 12.04 |
|
|||
19 | - sudo add-apt-repository -y ppa:marutter/c2d4u |
|
|||
20 | - sudo apt-get update |
|
|||
21 | - sudo apt-get install pandoc casperjs libzmq3-dev |
|
|||
22 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels |
|
21 | - git clone --quiet --depth 1 https://github.com/minrk/travis-wheels travis-wheels | |
23 | - 'if [[ $GROUP == js* ]]; then python -m IPython.external.mathjax; fi' |
|
|||
24 | - 'if [[ $GROUP != js* ]]; then COVERAGE="--coverage xml"; fi' |
|
22 | - 'if [[ $GROUP != js* ]]; then COVERAGE="--coverage xml"; fi' | |
25 | install: |
|
23 | install: | |
26 | - pip install -f travis-wheels/wheelhouse file://$PWD#egg=ipython[all] coveralls |
|
24 | - pip install -f travis-wheels/wheelhouse file://$PWD#egg=ipython[all] coveralls | |
|
25 | before_script: | |||
|
26 | - 'if [[ $GROUP == js* ]]; then python -m IPython.external.mathjax mathjax.zip; fi' | |||
27 | script: |
|
27 | script: | |
28 | - cd /tmp && iptest $GROUP $COVERAGE && cd - |
|
28 | - cd /tmp && iptest $GROUP $COVERAGE && cd - | |
29 |
|
29 |
@@ -3,8 +3,8 b' casper.notebook_test(function () {' | |||||
3 | if(data.error_expected){ |
|
3 | if(data.error_expected){ | |
4 | that.test.assertEquals( |
|
4 | that.test.assertEquals( | |
5 | data.error, |
|
5 | data.error, | |
6 |
|
|
6 | true, | |
7 |
"!highlight: " + data.provided + " errors |
|
7 | "!highlight: " + data.provided + " errors" | |
8 | ); |
|
8 | ); | |
9 | }else{ |
|
9 | }else{ | |
10 | that.test.assertEquals( |
|
10 | that.test.assertEquals( | |
@@ -44,9 +44,9 b' casper.notebook_test(function () {' | |||||
44 | window.callPhantom({ |
|
44 | window.callPhantom({ | |
45 | provided: from, |
|
45 | provided: from, | |
46 | expected: expected, |
|
46 | expected: expected, | |
47 |
error: |
|
47 | error: true, | |
48 | error_expected: error_expected |
|
48 | error_expected: error_expected | |
49 |
}); |
|
49 | }); | |
50 | }); |
|
50 | }); | |
51 | }, { |
|
51 | }, { | |
52 | from: from, |
|
52 | from: from, |
General Comments 0
You need to be logged in to leave comments.
Login now