Skip to content

Commit

Permalink
overwrite travis default compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremiah Wala committed Oct 1, 2016
1 parent 098ddfd commit a429d98
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.scripts/coveralls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ then
export LD_LIBRARY_PATH=${BOOST_ROOT}/lib:${LD_LIBRARY_PATH}
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
./configure --with-boost=${BOOST_ROOT}
make CXXFLAGS='-DHAVE_C11=1 -std=c++11'
make CXXFLAGS='-DHAVE_C11=1 -std=c++11' CXX=$COMPILER
./seq_test

EXCL="-e src/non_api -e seq_test/seq_test.cpp -e htslib -e bwa -e fermi-lite -e config.h -e seq_test/config.h -e seq_test/config.h -e src/jsoncpp.cpp -e src/json -e src/SeqLib/ssw.h -e src/SeqLib/ssw_cpp.h -e src/ssw.c -e src/ssw_cpp.cpp"
Expand Down
4 changes: 4 additions & 0 deletions .travis.scripts/travis-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
set -e
set -o pipefail

## print info aobut compiler
TC=`$COMPILER --version`
echo "True compiler is $TC"

## only build for one compiler
#VALID=`g++ --version | grep 4.9 | wc -l`
#if [[ "$VALID" -eq "0" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ before_install:

script:
- .travis.scripts/travis-install.sh
- ./configure && make
- ./configure && make CXX=$COMPILER

after_success:
- .travis.scripts/coveralls.sh
Expand Down

0 comments on commit a429d98

Please sign in to comment.