Skip to content

Commit 02597df

Browse files
committed
trying to fix travis
addressing issue with python 2.x and sphinx
1 parent b94b991 commit 02597df

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

.travis.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,12 @@ install:
88
- sudo apt-get update
99
- pip install -r requirements.txt
1010
- 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
1317

1418
script:
1519
- if [ "$TRAVIS_BRANCH" == "master" ] | [ "$TRAVIS_BRANCH" == "develop" ];
@@ -18,7 +22,7 @@ script:
1822
fi
1923

2024
after_success:
21-
- if [ "$TRAVIS_BRANCH" == "master" ] | [ "$TRAVIS_BRANCH" == "develop" ];
25+
- if [ "$TRAVIS_BRANCH" == "master" ] && [ $TRAVIS_PYTHON_VERSION == 2.6 ];
2226
then sh bin/travis-update-documentation.sh;
2327
fi
2428

0 commit comments

Comments
 (0)