The CI of this project test the following:
- latest gcc docker with topaz+diamond: recompile proteinortho and make test
- latest gcc docker with topaz+diamond: make test without any compiling (static)
- latest gcc docker with diamond: recompile proteinortho without LAPACK (make LAPACK=FALSE) and make test
- gcc:5 (gcc version 5) docker with topaz+diamond: recompile proteinortho and make test
- latest ubuntu docker with topaz+diamond: recompile proteinortho and make test
- latest debian docker with topaz+diamond: recompile proteinortho and make test
- latest centos docker with topaz+diamond: make test (static)
The CI badge is green if and only if all tests are passed with no error.
the yml file
variables: PROJECT_NAME: "Proteinortho" before_script:
- echo "starting yml for Proteinortho"
- apt-get -y update && apt-get -y install cmake && apt-get -y install wget && apt-get -y install ncbi-blast+ && apt-get -y install time && apt-get -y install git stages:
- buildtest
buildtest-gcc-latest: image: gcc stage: buildtest script:
- echo "installing topaz"
- git clone https://github.com/ajm/topaz
- cd topaz/src
- make
- cp topaz $HOME
- echo "installing diamond"
- wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz
- tar xzf diamond-linux64.tar.gz
- cp diamond $HOME
- export PATH="$PATH:$HOME"
- cd ../..
- echo "start proteinortho tests"
- gcc --version
- make clean
- make test
static-gcc-latest: image: gcc stage: buildtest script:
- echo "installing diamond"
- wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz
- tar xzf diamond-linux64.tar.gz
- cp diamond $HOME
- export PATH="$PATH:$HOME"
- echo "start proteinortho tests"
- gcc --version
- make test
nolapack-gcc-latest: image: gcc stage: buildtest script:
- echo "installing diamond"
- wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz
- tar xzf diamond-linux64.tar.gz
- cp diamond $HOME
- export PATH="$PATH:$HOME"
- echo "start proteinortho tests"
- gcc --version
- make clean
- make LAPACK=FALSEsrc
- make test
buildtest-without-lapack: image: gcc stage: buildtest script:
- echo "start proteinortho tests"
- make USELAPACK=FALSE
- make clean
- make test
buildtest-gcc5: image: gcc:5 stage: buildtest script:
- echo "installing topaz"
- git clone https://github.com/ajm/topaz
- cd topaz/src
- make
- cp topaz $HOME
- echo "installing diamond"
- wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz
- tar xzf diamond-linux64.tar.gz
- cp diamond $HOME
- export PATH="$PATH:$HOME"
- cd ../..
- echo "start proteinortho tests"
- gcc --version
- make clean
- make test
buildtest-ubuntu-latest: image: ubuntu stage: buildtest script:
- apt-get -y update && apt-get -y install gcc && apt-get -y install gfortran && apt-get -y install build-essential g++
- echo "installing topaz"
- git clone https://github.com/ajm/topaz
- cd topaz/src
- make
- cp topaz $HOME
- cd ../..
- echo "installing diamond"
- wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz
- tar xzf diamond-linux64.tar.gz
- cp diamond $HOME
- export PATH="$PATH:$HOME"
- echo "start proteinortho tests"
- make clean
- make test
buildtest-debian-latest: image: debian stage: buildtest script:
- apt-get -y update && apt-get -y install gcc && apt-get -y install gfortran && apt-get -y install build-essential g++
- apt-get -y install cmake && apt-get -y install ncbi-blast+ && apt-get -y install time
- echo "installing topaz"
- git clone https://github.com/ajm/topaz
- cd topaz/src
- make
- cp topaz $HOME
- echo "installing diamond"
- wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz
- tar xzf diamond-linux64.tar.gz
- cp diamond $HOME
- export PATH="$PATH:$HOME"
- cd ../..
- echo "start proteinortho tests"
- make clean
- make test
test-centos-latest: image: centos stage: buildtest script:
- yum -y groupinstall "Development Tools"
- yum -y install gcc-c++
- yum -y install cmake
- yum -y install make
- yum -y install tar
- yum -y install which
- yum -y install wget
- wget ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/LATEST/ncbi-blast*-x64-linux.tar.gz
- tar -xzvf ncbi-blast*-x64-linux.tar.gz
- cp ncbi-blast*/bin/blastp $HOME
- cp ncbi-blast*/bin/makeblastdb $HOME
- echo "installing diamond"
- wget http://github.com/bbuchfink/diamond/releases/download/v0.9.24/diamond-linux64.tar.gz
- tar xzf diamond-linux64.tar.gz
- cp diamond $HOME
- export PATH="$PATH:$HOME"
- echo "start proteinortho tests"
- make test