-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathbitbucket-pipelines.yml
35 lines (34 loc) · 1.2 KB
/
bitbucket-pipelines.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
# This is a sample build configuration for Python.
# Check our guides at https://confluence.atlassian.com/x/x4UWN for more examples.
# Only use spaces to indent your .yml configuration.
# -----
# You can specify a custom docker image from Docker Hub as your build environment
#image: python:3.5.1
#image: python:2.7.15
# this image allows conda to install gsl
#image: continuumio/miniconda3:latest
image: continuumio/anaconda3:latest
#image: continuumio/anaconda:latest
pipelines:
default:
- step:
caches:
- pip
script: # Modify the commands below to build your repository.
- export DEBIAN_FRONTEND=noninteractive
- apt-get -yq install gcc
- apt-get -yq install libgsl-dev
#- conda install -y -c anaconda gcc
#- conda install -y -c conda-forge gsl
- pip install pytest
- pip install scipy
- pip install gwtools
- pip install h5py
- pip install scikit-learn
- git submodule init
- git submodule update
- cd ..
- pip install -e build/ # install from local setup.py
- cd build
- python test/download_regression_models.py
- pytest