forked from nanshe-org/nanshe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.wercker.yml
57 lines (50 loc) · 1.8 KB
/
.wercker.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
box: jakirkham/centos_drmaa_conda
build:
steps:
- script:
name: Ensure clean repo.
code: |-
git update-index -q --refresh
git submodule update --init --recursive
- script:
name: Configure and update conda.
code: |-
conda config --add channels conda-forge
conda config --add channels nanshe
conda config --set show_channel_urls True
source activate root
conda update -y --all
conda clean -tipsy
- script:
name: Build and install the conda package.
code: |-
python setup.py bdist_conda
conda create -y --use-local -n testenv nanshe==$(python setup.py --version)
source activate testenv
conda clean -tipsy
touch /opt/conda/envs/testenv/conda-meta/pinned
- script:
name: Install dependencies for cluster support.
code: |-
conda install -y drmaa
conda clean -tipsy
- script:
name: Install dependencies for building docs.
code: |-
conda install -y sphinx
conda install -y cloud_sptheme
conda clean -tipsy
- script:
name: Install dependencies for profiling and monitoring coverage.
code: |-
conda install -y nose-timer
conda install -y coverage
conda clean -tipsy
- script:
name: Test code.
code: |-
python setup.py nosetests --with-timer
- script:
name: Test documentation.
code: |-
python setup.py build_sphinx