aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/ci/travis/cmake.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--project/ci/travis/cmake.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/project/ci/travis/cmake.py b/project/ci/travis/cmake.py
index 1d6eed4..47177bc 100644
--- a/project/ci/travis/cmake.py
+++ b/project/ci/travis/cmake.py
@@ -19,6 +19,7 @@ import sys
from project.cmake.build import BuildParameters, build
from project.configuration import Configuration
+from project.platform import Platform
from project.utils import setup_logging
@@ -41,6 +42,10 @@ def _get_build_dir():
return os.path.join(_env('HOME'), 'build')
+def _get_platform():
+ return Platform.parse(_env('platform'))
+
+
def _get_configuration():
return Configuration.parse(_env('configuration'))
@@ -68,6 +73,7 @@ def build_travis(argv=None):
params = BuildParameters(_get_src_dir(),
build_dir=_get_build_dir(),
install_dir=args.install_dir,
+ platform=_get_platform(),
configuration=_get_configuration(),
cmake_args=args.cmake_args)
build(params)