Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ matrix:
- llvm-toolchain-precise-3.7
- boost-latest
env:
- RUN_TEST=false
- RUN_TESTS=false
- OPENCL_LIB=khronos-icd
- OPENCL_VERSION="12"
- ENV_CMAKE_OPTIONS="-DOpenCL_LIBRARY=${OPENCL_ROOT}/lib/libOpenCL.so -DOpenCL_INCLUDE_DIR=${OPENCL_ROOT}/include"
Expand All @@ -184,7 +184,7 @@ matrix:
packages: *precise_icd_packages
sources: *precise_icd_sources
env:
- RUN_TEST=false
- RUN_TESTS=false
- OPENCL_LIB=khronos-icd
- OPENCL_VERSION="12"
- ENV_CMAKE_OPTIONS="-DOpenCL_LIBRARY=${OPENCL_ROOT}/lib/libOpenCL.so -DOpenCL_INCLUDE_DIR=${OPENCL_ROOT}/include"
Expand All @@ -197,7 +197,7 @@ matrix:
packages: *precise_icd_packages
sources: *precise_icd_sources
env:
- RUN_TEST=false
- RUN_TESTS=false
- OPENCL_LIB=khronos-icd
- OPENCL_VERSION="20"
- ENV_CMAKE_OPTIONS="-DOpenCL_LIBRARY=${OPENCL_ROOT}/lib/libOpenCL.so -DOpenCL_INCLUDE_DIR=${OPENCL_ROOT}/include"
Expand All @@ -210,7 +210,7 @@ matrix:
packages: *precise_icd_packages
sources: *precise_icd_sources
env:
- RUN_TEST=false
- RUN_TESTS=false
- OPENCL_LIB=khronos-icd
- OPENCL_VERSION="20"
- ENV_CMAKE_OPTIONS="-DOpenCL_LIBRARY=${OPENCL_ROOT}/lib/libOpenCL.so -DOpenCL_INCLUDE_DIR=${OPENCL_ROOT}/include"
Expand Down Expand Up @@ -316,6 +316,14 @@ install:
popd
fi

script:
- |
if [[ "${RUN_TESTS}" == "true" ]]; then
mvn test
else
mvn -DskipTests package
fi

after_success:
- bash <(curl -s https://codecov.io/bash)
- mvn site
Expand Down