Skip to content

Commit 791eb0b

Browse files
authored
[ci] fix env variables POPSIFT_APP_BUILD
It was not using the env variables but creating directories with the name of the env variable
1 parent 6d09ef6 commit 791eb0b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

.travis.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,31 +60,31 @@ install:
6060
- CUDA_REPO_PKG=cuda-repo-ubuntu1404_${CUDA_PKG_LONGVERSION}_amd64.deb
6161
- wget http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64/$CUDA_REPO_PKG
6262
- sudo dpkg -i $CUDA_REPO_PKG
63-
- rm $CUDA_REPO_PKG
63+
- rm ${CUDA_REPO_PKG}
6464
- sudo apt-get -y update
6565
- sudo apt-get install -y --no-install-recommends cuda-core-$CUDA_PKG_VERSION cuda-cudart-dev-$CUDA_PKG_VERSION cuda-cublas-dev-$CUDA_PKG_VERSION cuda-curand-dev-$CUDA_PKG_VERSION
6666
- sudo ln -s /usr/local/cuda-${CUDA_VERSION_MAJOR}.${CUDA_VERSION_MINOR} /usr/local/cuda
6767

6868
before_script:
6969
# Create build folder
70-
- mkdir $POPSIFT_BUILD
71-
- cd $POPSIFT_BUILD
70+
- mkdir -p ${POPSIFT_BUILD}
71+
- cd ${POPSIFT_BUILD}
7272
# Classic release build
7373
- >
74-
cmake . $POPSIFT_SOURCE -DCMAKE_INSTALL_PREFIX=$POPSIFT_INSTALL
74+
cmake . ${POPSIFT_SOURCE} -DCMAKE_INSTALL_PREFIX=${POPSIFT_INSTALL}
7575
7676
script:
7777
# limit GCC builds to a reduced number of thread for the virtual machine
7878
- make install -j 2 VERBOSE=1
7979
# Perform unit tests
8080
# - make test
8181
# Perform tests building application with PopSift as 3rd party
82-
- cd $POPSIFT_APP_SRC
83-
- mkdir POPSIFT_APP_BUILD
84-
- cd POPSIFT_APP_BUILD
85-
- cmake .. -DPopSift_DIR=$POPSIFT_INSTALL/lib/cmake/PopSift/ -DCMAKE_INSTALL_PREFIX=$POPSIFT_APP_INSTALL
82+
- cd ${POPSIFT_APP_SRC}
83+
- mkdir -p ${POPSIFT_APP_BUILD}
84+
- cd ${POPSIFT_APP_BUILD}
85+
- cmake .. -DPopSift_DIR=${POPSIFT_INSTALL}/lib/cmake/PopSift/ -DCMAKE_INSTALL_PREFIX=${POPSIFT_APP_INSTALL}
8686
- make install -j 2 VERBOSE=1
8787

8888
cache:
8989
directories:
90-
- $CMAKE_INSTALL
90+
- ${CMAKE_INSTALL}

0 commit comments

Comments
 (0)