forked from lukeping/GenomicConsensus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
circle.yml
27 lines (27 loc) · 1.75 KB
/
circle.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
dependencies:
cache_directories:
- "_deps/cmake-3.3.0-Linux-x86_64"
- "_deps/boost_1_58_0"
pre:
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository -y ppa:teward/swig3.0
- sudo apt-get update
- sudo apt-get install g++-4.8 swig3.0
- if [ ! -d _deps ] ; then mkdir _deps ; fi # Create a directory for dependencies, These are static, cache them.
- pushd _deps ; if [ ! -d cmake-3.3.0-Linux-x86_64 ] ; then wget --no-check-certificate http://www.cmake.org/files/v3.3/cmake-3.3.0-Linux-x86_64.tar.gz ; tar xzf cmake-3.3.0-Linux-x86_64.tar.gz ; fi
- pushd _deps ; if [ ! -d boost_1_58_0 ] ; then wget http://superb-dca2.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.tar.bz2 ; tar xjf boost_1_58_0.tar.bz2 ; fi
- pushd _deps ; git clone https://github.com/PacificBiosciences/ConsensusCore.git
- pushd _deps ; git clone https://github.com/PacificBiosciences/ConsensusCore2.git
- pip install Cython # work around issue where h5py won't list Cython in setup_requires..
- pip install h5py
- pip install git+https://github.com/PacificBiosciences/pbcommand.git
- pip install git+https://github.com/PacificBiosciences/pbcore.git
- pip install cram nose
override:
- pushd _deps/ConsensusCore ; python setup.py install --boost=$(readlink -f ../boost_1_58_0) --swig=$(which swig3.0)
- pushd _deps/ConsensusCore2 ; CC=gcc-4.8 CXX=g++-4.8 CMAKE_COMMAND=$(readlink -f ../cmake-3.3.0-Linux-x86_64/bin/cmake) Boost_INCLUDE_DIRS=$(readlink -f ../boost_1_58_0) SWIG_COMMAND=$(which swig3.0) pip install --verbose --upgrade --no-deps .
test:
pre:
- pip install --verbose .
override:
- make check