forked from markovmodel/PyEMMA
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
67 lines (58 loc) · 1.73 KB
/
config.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
defaults: &defaults
working_directory: ~/markovmodel/PyEMMA
docker:
- image: continuumio/miniconda3
#- image: condaforge/linux-anvil
inst_conda_bld: &inst_conda_bld
version: 2
jobs:
build:
<<: *defaults
parallelism: 1
steps:
- checkout
- run: conda config --add channels conda-forge
- run: conda config --set always_yes true
- run: conda config --set quiet true
- run: conda install conda-build -c defaults
- run: mkdir workspace
- run: conda build devtools/conda-recipe --python=3.7 --no-test --output-folder workspace
- persist_to_workspace:
root: workspace
paths:
- "*"
test:
<<: *defaults
parallelism: 4
environment:
CIRCLE_ARTIFACTS: /tmp/circleci-artifacts
CIRCLE_TEST_REPORTS: /tmp/circleci-test-results
PYTHONHASHSEED: 0
OMP_NUM_THREADS: 2
PYEMMA_NJOBS: 1
steps:
- checkout
- run: conda config --add channels conda-forge
- run: conda config --set always_yes true
- run: conda config --set quiet true
- run: conda install conda-build -c defaults
- run: mkdir -p $CIRCLE_ARTIFACTS $CIRCLE_TEST_REPORTS
- attach_workspace:
at: workspace
- run: conda build devtools/conda-recipe --python=3.7 --test --output-folder workspace
- run: bash <(curl -s https://codecov.io/bash) -f $HOME/coverage.xml
- store_test_results:
path: /tmp/circleci-test-results
# Save artifacts
- store_artifacts:
path: /tmp/circleci-artifacts
- store_artifacts:
path: /tmp/circleci-test-results
workflows:
version: 2
build_and_test:
jobs:
- build
- test:
requires:
- build