Skip to content

Commit 67fdeef

Browse files
committed
[build] intermediate updates
1 parent 75e0569 commit 67fdeef

File tree

4 files changed

+31
-33
lines changed

4 files changed

+31
-33
lines changed

.travis.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ os:
66
- linux
77
- osx
88

9-
env:
10-
matrix:
11-
- CONDA_PY=3.5
12-
- CONDA_PY=3.6
13-
149
install:
1510
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export OS=MacOSX; else export OS=Linux; fi
1611
- wget https://repo.continuum.io/miniconda/Miniconda3-4.3.21-$OS-x86_64.sh -O miniconda.sh
@@ -20,13 +15,13 @@ install:
2015
- conda config --set always_yes yes --set changeps1 no
2116
- conda update -q conda
2217
- conda info -a
23-
- conda install conda-build anaconda-client constructor git python=$CONDA_PY
24-
- conda build --debug -c terhorst -c conda-forge -c bioconda conda --python=$CONDA_PY
25-
- conda create -n smcpp_install --use-local -c terhorst -c bioconda -c conda-forge python=$CONDA_PY smcpp
18+
- conda install conda-build anaconda-client constructor git
19+
- conda build -c terhorst -c conda-forge -c bioconda conda
20+
- conda create -n smcpp_install --use-local -c terhorst -c bioconda -c conda-forge smcpp
2621
- source activate smcpp_install
2722
- smc++ version
2823
- test/integration/test.sh `which smc++`
29-
- conda/template.py conda/construct.tpl $VERSION > conda/construct.yaml
24+
- conda/template.py conda/construct.tpl $VERSION > conda/construct.yaml
3025
- source deactivate
3126

3227
deploy:
@@ -40,7 +35,6 @@ deploy:
4035
on:
4136
repo: popgenmethods/smcpp
4237
tags: true
43-
condition: "$CONDA_PY = 3.6"
4438
api_key:
4539
secure: VCht3BdnhgAdjYTyJqrHk5ZWNj/6WaajxjO0nCuSJZC43XCval+3c1I7Bckfs/YD+HAALVd9bMhVSi8VonpT6gvKyFGo5ttCFAGmJXz5+dCsBvbczblHcd9qV55T3K8HCsOrsjvGDrm3pRv9TPu2eBecPl8Y9uK1auEs/JJ0ywUnFA6plzAdtybc0FqywS0RZfm9W30vQVRCbkVQgP1nN0H8X1WeOC+fIckSHv0ejJ7NkoGhhX+J7/1FLe2EpmhAV2sLja2nneIko9xIT+hv27GmJ+xfj09osRzdkrVmbaL3CLu/ToF/6lb3fxjxQ+J6tnhn87HCnulOnvrQzgmMayVnd6EZLLxGsgJq2CMkUXNkCgYbnMmOV800/VsssHgsVNDIGQ20UYCIG1PbxW+U0BHfu8Q2b8npSTyadhU0SfQ6uZNiKsKbX+sce1tLTLwtI+zNYKkcvv3ruP556bX5Rl94y/jNCt1KwVE1wriO6TqclLMHfbjaregPtH0gvV19mpRBcaFLkkq1CNMjGDwSIOpZk14+qlVcZTtykHIIBcbA+9mr80JZo9AR7C+XJYTgqRz94MA76UbxQZeqTQuEyt9fIthw/jdzTKlGVQJitkjFdlsLoSQk+zkLxlIEfLmy1iTCeT0NY34At7vM1qgkC9usCWrOPJ+z5X1DVAhcUV8=
4640
file_glob: true

conda/conda_build_config.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
python:
2+
- 3.5
3+
- 3.6
4+
openblas:
5+
- 0.2.19
6+
7+
pin_run_as_build:
8+
openblas: {}

conda/construct.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ channels:
66
- http://conda.anaconda.org/terhorst
77
- http://conda.anaconda.org/conda-forge
88
specs:
9+
- python 3.6
910
- smcpp
1011
- conda 4.3.21
1112
post_install: post_install.sh

conda/meta.yaml

Lines changed: 18 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,39 +7,26 @@ source:
77

88
requirements:
99
build:
10-
- python
10+
- python {{ python }}
1111
- nomkl
1212
- gcc >=4.8.5
13-
- libgcc
14-
- openblas 0.2.19
13+
- libgcc
14+
- openblas {{ openblas }}
1515
- git >=2.9.3
1616
- cython >=0.25
1717
- setuptools >=33.1
1818
- numpy >=1.10
19-
- gnuplot >=4.6.0
2019
- gmp >=6.1.0
2120
- gsl >=2.2.1
2221
- mpc >=1.0.3
2322
- mpfr >=3.1.5
2423
- setuptools_scm >=1.15
25-
- pysam >=0.11
26-
- matplotlib >=2.0
27-
- pandas >=0.19
28-
- python-dateutil >=2.6
29-
- scipy >=0.18
30-
- six >=1.10
31-
- appdirs >=1.4
32-
- tqdm >=4.10
33-
- wrapt >=1.10
34-
- ad >=1.3.2
35-
- readline >=6.2
36-
- attrs >=17.2.0
3724
run:
3825
- python
3926
- nomkl
4027
- gcc >=4.8.5
4128
- libgcc
42-
- openblas 0.2.19
29+
- openblas
4330
- git >=2.9.3
4431
- cython >=0.25
4532
- setuptools >=33.1
@@ -64,11 +51,19 @@ requirements:
6451
- attrs >=17.2.0
6552

6653
about:
67-
home: https://github.com/popgenmethods/smcpp
68-
license: BSD
69-
license_file: LICENSE
54+
home: https://github.com/popgenmethods/smcpp
55+
license: BSD
56+
license_file: LICENSE
7057

7158
test:
72-
imports:
73-
- smcpp
74-
- smcpp._smcpp
59+
imports:
60+
- smcpp
61+
- smcpp._smcpp
62+
source_files:
63+
- test/integration/test.sh
64+
- example/example.vcf.gz
65+
- example/example.vcf.gz.csi
66+
commands:
67+
- mkdir example
68+
- mv example.* example
69+
- ./test.sh smc++

0 commit comments

Comments
 (0)