Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
squash: do not use ${HOME}
  • Loading branch information
deanberris committed Apr 6, 2017
commit 47d91b2e7970bf07f3c867aa244df88d9626a7cd
29 changes: 17 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,27 @@ matrix:
# - compiler: g++
# env: BOOST_VER=1.59.0 BUILD_SHARED_LIBS="OFF" CMAKE_BUILD_TYPE="Debug" ENABLE_HTTPS="ON" CMAKE_CXX_FLAGS="-fsanitize=memory -fsanitize-memory-track-origins=2"
install:
- mkdir -p ${HOME}/bin
- pwd
- export CUR_DIR=`pwd`
- mkdir -p ${CUR_DIR}/bin
- if [ "${CC}" = "gcc" ];
then ln -s `which g++-4.9` ${HOME}/bin/g++;
ln -s `which gcc-4.9` ${HOME}/bin/gcc;
$HOME/bin/g++ --version;
export CXX=$HOME/bin/g++;
export CC=$HOME/bin/gcc;
then ls `which g++-4.9`;
ln -s `which g++-4.9` ${CUR_DIR}/bin/g++;
ln -s `which gcc-4.9` ${CUR_DIR}/bin/gcc;
$CUR_DIR/bin/g++ --version;
export CXX=${CUR_DIR}/bin/g++;
export CC=${CUR_DIR}/bin/gcc;
fi
- if [ "${CC}" = "clang" ];
then ln -s `which clang-3.8` ${HOME}/bin/clang;
ln -s `which clang++-3.8` ${HOME}/bin/clang++;
$HOME/bin/clang --version;
export CXX=$HOME/bin/clang++;
export CC=$HOME/bin/clang++;
then ls `which clang-3.8`;
ln -s `which clang-3.8` ${CUR_DIR}/bin/clang;
ln -s `which clang++-3.8` ${CUR_DIR}/bin/clang++;
${CUR_DIR}/bin/clang --version;
export CXX=${CUR_DIR}/bin/clang++;
export CC=${CUR_DIR}/bin/clang++;
fi
- export PATH=${HOME}/bin:${PATH}
before_script:
- export PATH=${CUR_DIR}/bin:${PATH}
- "${CXX} --version"
- "${CC} --version"
cache: ccache
Expand Down