-
Notifications
You must be signed in to change notification settings - Fork 15
/
bamboo_build.sh
executable file
·32 lines (28 loc) · 1.18 KB
/
bamboo_build.sh
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
#!/bin/bash -ex
NX3PBASEURL=http://nexus/repository/unsupported/pitchfork/gcc-4.9.2
export PATH=$PWD/build/bin:/mnt/software/a/anaconda2/4.2.0/bin:$PATH
export PYTHONUSERBASE=$PWD/build
export CFLAGS="-I/mnt/software/a/anaconda2/4.2.0/include"
PIP="pip --cache-dir=$bamboo_build_working_directory/.pip"
type module >& /dev/null || . /mnt/software/Modules/current/init/bash
module load gcc/4.9.2
rm -rf build
mkdir -p build/bin build/lib build/include build/share
$PIP install --user \
iso8601
$PIP install --user \
$NX3PBASEURL/pythonpkgs/xmlbuilder-1.0-cp27-none-any.whl \
$NX3PBASEURL/pythonpkgs/tabulate-0.7.5-cp27-none-any.whl \
$NX3PBASEURL/pythonpkgs/pysam-0.9.1.4-cp27-cp27mu-linux_x86_64.whl \
$NX3PBASEURL/pythonpkgs/avro-1.7.7-cp27-none-any.whl \
$NX3PBASEURL/pythonpkgs/Jinja2-2.7.3-cp27-none-any.whl \
$NX3PBASEURL/pythonpkgs/pyparsing-1.5.7-cp27-none-any.whl \
$NX3PBASEURL/pythonpkgs/pydot-1.0.28-cp27-none-any.whl
$PIP install --user -e repos/pbcommand
$PIP install --user -e repos/pbcore
$PIP install --user -e repos/pbcoretools
$PIP install --user -r REQUIREMENTS_CI.txt
$PIP install --user -r REQUIREMENTS.txt
$PIP install --user -e ./
make test-pylint
make test-suite