From 775b32305f8ec9ed18d6cc8ff13bd8af8f4be14a Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Mon, 30 Jan 2017 15:21:32 -0800 Subject: [PATCH] travis: Really delete the `doc` folder Got two location to look at, be sure to delete them both. --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5abbdbc599b..7afa97260f5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -108,11 +108,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