summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHans Johnson <hans-johnson@uiowa.edu>2016-07-27 08:56:45 -0500
committerHans Johnson <hans-johnson@uiowa.edu>2016-07-28 08:51:34 -0500
commit44ef9da070628a2ff7bf63afca60d0ebe0ed7875 (patch)
tree6360617a84cb9dec7de73843ecd6dd8a0f314864 /.travis.yml
parentfc1e5887fd89ec49efa8358e492b6d84caa041ae (diff)
downloadlapack-44ef9da070628a2ff7bf63afca60d0ebe0ed7875.tar.gz
lapack-44ef9da070628a2ff7bf63afca60d0ebe0ed7875.tar.bz2
lapack-44ef9da070628a2ff7bf63afca60d0ebe0ed7875.zip
ENH: Fix travis build pathing
The travis builds were attempting to be done inside the source tree. This is generally considered bad form since it is possible for dynamically created files to overwrite static files, and because the files manages by git should not be confouded with build files.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 97b80260..d1b3cc62 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,7 +14,14 @@ os:
- osx
script:
- - cmake -DCMAKE_INSTALL_PREFIX=~/.local -DLAPACKE=ON -DCBLAS=ON .
+ - export SRC_DIR=$(pwd)
+ - export BLD_DIR=${SRC_DIR}/../lapack-travis-bld
+ - export INST_DIR=${SRC_DIR}/../lapack-travis-install
+ - mkdir -p ${BLD_DIR}
+ - cd ${BLD_DIR}
+# See issue #17 on github dashboard. Once resolved, use -DCBLAS=ON
+# - cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} -DLAPACKE=ON ${SRC_DIR}
+ - cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} -DLAPACKE=ON ${SRC_DIR}
- ctest -D ExperimentalStart
- ctest -D ExperimentalConfigure
- ctest -D ExperimentalBuild -j2