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