[be69fa]: / .circleci / config.yml

Download this file

70 lines (53 with data), 1.5 kB

 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
68
69
version: 2
jobs:
test-py27:
docker:
- image: circleci/python:2.7.14
working_directory: ~/repo
steps:
- checkout
- run:
name: install tiledb
command: sudo pip install cmake && sudo pip install tiledb
- run:
name: install dependencies
command: sudo pip install -e '.[develop]'
- run:
name: run tests
command: py.test --cov=genomelake tests/
- run:
name: run coveralls
command: coveralls || true
- store_artifacts:
path: test-reports
destination: test-reports
test-py35:
docker:
# TODO check
- image: circleci/python:3.5
working_directory: ~/repo
steps:
- checkout
- run:
name: install tiledb
command: sudo pip install cmake && sudo pip install tiledb
- run:
name: install dependencies
command: sudo pip install --user -e '.[develop]'
- run:
name: run tests
command: py.test --cov=genomelake tests/
- run:
name: run coveralls
command: coveralls || true
- store_artifacts:
path: test-reports
destination: test-reports
workflows:
version: 2
# TODO - consider running the deploy only on
# tag commits: https://circleci.com/docs/2.0/workflows/#git-tag-job-execution
test-n-deploy:
jobs:
- test-py35
- test-py27