diff --git a/.travis.yml b/.travis.yml index 1753be947..77b64152c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -40,6 +40,6 @@ install: script: - sh ./scripts/hash_version.sh - - . /opt/qt57/bin/qt57-env.sh + - if [[ "$CODE_BUILD" == "1" ]]; then . /opt/qt57/bin/qt57-env.sh ; fi - if [[ "$CODE_BUILD" == "1" ]]; then mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Debug .. && make ; fi - if [[ "$DOCS_BUILD" == "1" ]]; then cd docs/ && make html ; fi