@@ -134,33 +134,33 @@ after_failure:
134
134
fi
135
135
136
136
after_success :
137
- |
138
- if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' && $BUILD_DOCS == true && $TRAVIS_BRANCH == 'master' ]]; then
139
- cd $TRAVIS_BUILD_DIR
140
- echo "Uploading documentation"
141
- openssl aes-256-cbc -K $encrypted_cc802e084cd0_key -iv $encrypted_cc802e084cd0_iv -in ci/travis/matplotlibDeployKey.enc -out ci/travis/matplotlibDeployKey -d
142
- eval `ssh-agent -s`
143
- chmod 600 ci/travis/matplotlibDeployKey
144
- ssh-add ci/travis/matplotlibDeployKey
145
- cd ..
146
- git clone [email protected] :matplotlib/devdocs.git
147
- cd devdocs
148
- git checkout --orphan gh-pages
149
- git reset --hard first_commit
150
- cp -R ../matplotlib/doc/build/html/. .
151
- touch .nojekyll
152
- git config --global user.email "MatplotlibTravisBot@nomail"
153
- git config --global user.name "MatplotlibTravisBot"
154
- git config --global push.default simple
155
- git add .
156
- git commit -m "Docs build of $TRAVIS_COMMIT"
157
- git push --set-upstream origin gh-pages --force
158
- else
159
- echo "Will only deploy docs build from matplotlib master branch"
160
- fi
161
- if [[ $TRAVIS_PULL_REQUEST == false ]] && \
162
- [[ $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' ]] && \
163
- [[ $TRAVIS_BRANCH == 'master' ]]; then
137
+ - |
138
+ if [[ $TRAVIS_PULL_REQUEST == false && $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' && $BUILD_DOCS == true && $TRAVIS_BRANCH == 'master' ]]; then
139
+ cd $TRAVIS_BUILD_DIR
140
+ echo "Uploading documentation"
141
+ openssl aes-256-cbc -K $encrypted_cc802e084cd0_key -iv $encrypted_cc802e084cd0_iv -in ci/travis/matplotlibDeployKey.enc -out ci/travis/matplotlibDeployKey -d
142
+ eval `ssh-agent -s`
143
+ chmod 600 ci/travis/matplotlibDeployKey
144
+ ssh-add ci/travis/matplotlibDeployKey
145
+ cd ..
146
+ git clone [email protected] :matplotlib/devdocs.git
147
+ cd devdocs
148
+ git checkout --orphan gh-pages
149
+ git reset --hard first_commit
150
+ cp -R ../matplotlib/doc/build/html/. .
151
+ touch .nojekyll
152
+ git config --global user.email "MatplotlibTravisBot@nomail"
153
+ git config --global user.name "MatplotlibTravisBot"
154
+ git config --global push.default simple
155
+ git add .
156
+ git commit -m "Docs build of $TRAVIS_COMMIT"
157
+ git push --set-upstream origin gh-pages --force
158
+ else
159
+ echo "Will only deploy docs build from matplotlib master branch"
160
+ fi
161
+ if [[ $TRAVIS_PULL_REQUEST == false ]] && \
162
+ [[ $TRAVIS_REPO_SLUG == 'matplotlib/matplotlib' ]] && \
163
+ [[ $TRAVIS_BRANCH == 'master' ]]; then
164
164
cd $TRAVIS_BUILD_DIR
165
165
python ci/travis/travis_after_all.py
166
166
export $(cat .to_export_back)
@@ -172,7 +172,7 @@ after_success:
172
172
echo "Some Failed; no OSX build"
173
173
fi
174
174
fi
175
- fi
176
- if [[ $NOSE_ARGS="--with-coverage" ]]; then
177
- coveralls
178
- fi
175
+ fi
176
+ if [[ $NOSE_ARGS="--with-coverage" ]]; then
177
+ coveralls
178
+ fi
0 commit comments