Skip to content

Commit

Permalink
Faster tests for Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
noporpoise committed Nov 4, 2015
1 parent 0af23bc commit e49c3fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ echo $cwd
if [[ $# -eq 0 || $1 == 'update' ]]
then
# Get all dependencies used in testing (bioinf-perl, bcftools, samtools etc.)
cd ../libs && make all test && cd $cwd
cd ../libs && make all && cd $cwd
if [ $? -ne 0 ]; then exit -1; fi
fi

Expand All @@ -38,7 +38,7 @@ cd $cwd
dirs=`ls | grep -v '.*run.sh' | grep -v '^\.' | grep -v old`
echo $dirs

cd .. && make MAXK=31 && make MAXK=63 && cd $cwd
cd .. && make MAXK=31 RELEASE=1 && make MAXK=63 && cd $cwd
if [ $? -ne 0 ]; then exit -1; fi

for f in $dirs
Expand Down
3 changes: 0 additions & 3 deletions travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ echo "Perl: ${TRAVIS_PERL_VERSION}"
# Only run if we are not doing Coverity Scan analysis
if [ "${COVERITY_SCAN_BRANCH}" != 1 ]
then
# Check we can build a release build
make all RELEASE=1 && make test && make clean

# Build and run all tests
cd tests && ./run.sh
fi

0 comments on commit e49c3fb

Please sign in to comment.