Skip to content

Commit

Permalink
Auto merge of #39574 - alexcrichton:beta-travis-doc, r=brson
Browse files Browse the repository at this point in the history
[beta] travis: Really delete the `doc` folder

This is a backport of #39415 so we can test out release infrastructure with Travis on beta.
  • Loading branch information
bors committed Feb 9, 2017
2 parents 7c4cb50 + 9ade95f commit 3f38cac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,11 +109,12 @@ cache:

before_deploy:
- mkdir -p deploy/$TRAVIS_COMMIT
- rm -rf build/dist/doc
- >
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
rm -rf build/dist/doc &&
cp -r build/dist/* deploy/$TRAVIS_COMMIT;
else
rm -rf obj/build/dist/doc &&
cp -r obj/build/dist/* deploy/$TRAVIS_COMMIT;
fi
Expand Down

0 comments on commit 3f38cac

Please sign in to comment.