aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/ci/travis/cmake.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]project/ci/travis/cmake.py (renamed from cmake/build/ci/travis.py)7
1 files changed, 2 insertions, 5 deletions
diff --git a/cmake/build/ci/travis.py b/project/ci/travis/cmake.py
index ab93711..7a1f707 100755..100644
--- a/cmake/build/ci/travis.py
+++ b/project/ci/travis/cmake.py
@@ -19,6 +19,8 @@ import os
import os.path
import sys
+from project.cmake.build import build
+
def _env(name):
if name not in os.environ:
@@ -69,11 +71,6 @@ def build_travis(argv=None):
args = _parse_args(argv)
_check_travis()
- this_module_dir = os.path.dirname(os.path.abspath(__file__))
- parent_module_dir = os.path.dirname(this_module_dir)
- sys.path.insert(1, parent_module_dir)
- from build import build
-
travis_argv = [
'--build', _get_build_dir(),
'--configuration', _get_configuration(),