-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
40 lines (37 loc) · 1.24 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
language: cpp
before_install:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install -y clang gcc-4.8 g++-4.8
- sudo apt-get -y install libboost-all-dev libnlopt-dev
- git submodule update --init --recursive
install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
- wget https://github.com/BioPP/bpp-core/archive/v2.3.0.tar.gz
- tar xvzf v2.3.0.tar.gz
- cd bpp-core-2.3.0
- mkdir _build && cd _build && cmake .. && make && sudo make install
- cd ../..
- rm v2.3.0.tar.gz
- wget https://github.com/BioPP/bpp-seq/archive/v2.3.0.tar.gz
- tar xvzf v2.3.0.tar.gz
- cd bpp-seq-2.3.0
- mkdir _build && cd _build && cmake .. && make && sudo make install
- cd ../..
- rm v2.3.0.tar.gz
- wget https://github.com/BioPP/bpp-phyl/archive/v2.3.0.tar.gz
- tar xvzf v2.3.0.tar.gz
- cd bpp-phyl-2.3.0
- mkdir _build && cd _build && cmake .. && make && sudo make install
- cd ../..
- wget http://mirror.rise.ph/gnu/gsl/gsl-2.4.tar.gz
- tar xvzf gsl-2.4.tar.gz
- cd gsl-2.4
- ./configure && make && sudo make install
- cd ..
- mkdir Release
- cd Release
compiler:
- clang
script:
- cmake -DUSE_BEAGLE=OFF -DCMAKE_BUILD_TYPE=Release .. && make