File tree 1 file changed +7
-3
lines changed
1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,12 @@ install:
8
8
- sudo apt-get update
9
9
- pip install -r requirements.txt
10
10
- pip install .
11
- - pip install sphinx numpydoc sphinx_rtd_theme breathe;
12
- - sudo apt-get install doxygen
11
+ - if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PYTHON_VERSION == 2.6 ];
12
+ then pip install sphinx numpydoc sphinx_rtd_theme breathe;
13
+ fi
14
+ - if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PYTHON_VERSION == 2.6 ];
15
+ then sudo apt-get install doxygen;
16
+ fi
13
17
14
18
script :
15
19
- if [ "$TRAVIS_BRANCH" == "master" ] | [ "$TRAVIS_BRANCH" == "develop" ];
@@ -18,7 +22,7 @@ script:
18
22
fi
19
23
20
24
after_success :
21
- - if [ "$TRAVIS_BRANCH" == "master" ] | [ "$TRAVIS_BRANCH" == "develop" ];
25
+ - if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PYTHON_VERSION == 2.6 ];
22
26
then sh bin/travis-update-documentation.sh;
23
27
fi
24
28
You can’t perform that action at this time.
0 commit comments