forked from BackofenLab/IntaRNA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
48 lines (40 loc) · 1.21 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
os:
- linux
language: cpp
compiler:
- gcc
cache:
apt: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-4.9
- g++-4.9
- doxygen
before_install:
- wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- "./miniconda.sh -b"
- export CONDA_PATH=$HOME/miniconda3
- export PATH=$CONDA_PATH/bin:$PATH
- conda update --yes conda
- conda install --yes automake pkgconfig viennarna boost -c conda-forge -c bioconda
# - export CONDA_PATH=/home/travis/miniconda2/
- export CONDA_LIB_PATH=$CONDA_PATH/lib
# - ls $CONDA_LIB_PATH
# - ls $CONDA_PATH/include
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CONDA_LIB_PATH
script:
- RNAalifold --version
##### start IntaRNA build #####
- cd $TRAVIS_BUILD_DIR
# generate autotools's files
- bash autotools-init.sh
- CC=gcc-4.9 CXX=g++-4.9 ./configure --with-boost=$CONDA_PATH --with-vrna=$CONDA_PATH --prefix=$HOME/IntaRNA
# compile, test and install IntaRNA
- make && make tests && make install
##### check IntaRNA build #####
# run IntaRNA with help output
- $HOME/IntaRNA/bin/IntaRNA -h