-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
93 lines (86 loc) · 2.6 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
notifications: # set notification options
slack:
rooms:
- ucsc-cgl:Edwfgt7MJEVZV9Lib3igueTF
on_success: change
on_failure: always
email: false
language: generic
matrix:
include:
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake-data
- gcc-5
- g++-5
- cmake
env:
- MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"
- os: linux
compiler: gcc
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- cmake-data
- gcc-6
- g++-6
- cmake
env:
- MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"
- os: linux
compiler: clang
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.6
packages:
- clang-3.6
- cmake
env:
- MATRIX_EVAL="CC=clang-3.6 && CXX=clang-3.6"
before_install:
# - eval "${MATRIX_EVAL}"
- sudo apt-get update -qq
- sudo apt-get install build-essential autotools-dev autoconf zlib1g-dev -y
- sudo apt-get update
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- pwd
- python --version
- cmake --version
- gcc --version
- g++ --version
- cc --version
- c++ --version
# Install boost
- cd $HOME/build/UCSC-nanopore-cgl/
- wget -O boost_1_69_0.tar.gz https://sourceforge.net/projects/boost/files/boost/1.69.0/boost_1_69_0.tar.gz/download
- tar xzf boost_1_69_0.tar.gz >/dev/null
- cd boost_1_69_0/
- ./bootstrap.sh --show-libraries
- ./bootstrap.sh --with-libraries=system,date_time,filesystem,iostreams,coroutine,context >/dev/null #--prefix=/usr/
- sudo ./b2 && sudo ./b2 install
# Install HDF5
- export CFLAGS="$CFLAGS -fPIC"
- export CXXFLAGS="$CXXFLAGS -fPIC"
- cd $HOME/build/UCSC-nanopore-cgl/
- wget https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.4/src/hdf5-1.10.4.tar.gz
- tar -xzf hdf5-1.10.4.tar.gz || exit 255
- cd hdf5-1.10.4 && ./configure --prefix /usr/local --enable-threadsafe --disable-hl && make && sudo make install
# - echo "LD_LIBRARY_PATH=/home/travis/build/adbailey4/hdf5-1.10.4/hdf5/lib:$LD_LIBRARY_PATH" >> ~/.bashrc
# - source ~/.bashrc
- cd /home/travis/build/UCSC-nanopore-cgl/nanopore-toolkit
- python setup.py install
script:
- python setup.py test