We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03df022 commit 7ea61b3Copy full SHA for 7ea61b3
.travis.yml
@@ -15,6 +15,8 @@ cache:
15
16
# Handle dependencies in separate directory.
17
before_install:
18
+ - TESTINST_DIR="${HOME}/dummy"
19
+ - mkdir -p "${TESTINST_DIR}"
20
- DEPS_DIR="${HOME}/deps"
21
- mkdir -p "${DEPS_DIR}"
22
- cd "${DEPS_DIR}"
@@ -40,9 +42,11 @@ before_script:
40
42
script:
41
43
- mkdir -p build
44
- cd build
- - cmake -D CMAKE_PREFIX_PATH:PATH=${DEPS_DIR}/protobuf/install ..
45
+ - cmake -D CMAKE_PREFIX_PATH:PATH=${DEPS_DIR}/protobuf/install -D CMAKE_INSTALL_PREFIX:PATH=${TESTINST_DIR} ..
46
- cmake --build .
47
- cd ..
48
- python test_cases.py
49
- python setup.py build
50
- python setup.py sdist
51
+ - cd build
52
+ - cmake --build . --target install
0 commit comments