[go: up one dir, main page]

Menu

[6870db]: / .drone.yml  Maximize  Restore  History

Download this file

44 lines (38 with data), 1.4 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
---
kind: pipeline
name: tests-python3.8-arm64
platform:
os: linux
arch: arm64
steps:
- name: tests
image: python:3.8
environment:
DRONE_CLEANED_BRANCH: $${DRONE_SOURCE_BRANCH////_}
commands:
- pip install --prefer-binary -r dev_requirements.txt -r requirements.txt
- mkdir user
- cp ./octobot/config/default_config.json ./user/config.json
- TENTACLES_URL_SUBCATEGORY=dev/ TENTACLES_URL_TAG=$DRONE_CLEANED_BRANCH python3 start.py tentacles -q --install --all || python3 start.py tentacles --install --all
- python3 setup.py install
- pytest --cov=. --cov-config=.coveragerc --durations=0 -rw tests
- pytest tentacles
---
kind: pipeline
name: tests-python3.8-arm32
platform:
os: linux
arch: arm
steps:
- name: tests
image: python:3.8
environment:
DRONE_CLEANED_BRANCH: $${DRONE_SOURCE_BRANCH////_}
commands:
- pip install --extra-index-url https://www.piwheels.org/simple --prefer-binary -r dev_requirements.txt -r requirements.txt
- mkdir user
- cp ./octobot/config/default_config.json ./user/config.json
- TENTACLES_URL_SUBCATEGORY=dev/ TENTACLES_URL_TAG=$DRONE_CLEANED_BRANCH python3 start.py tentacles -q --install --all || python3 start.py tentacles --install --all
- python3 setup.py install
- pytest --cov=. --cov-config=.coveragerc --durations=0 -rw tests
- pytest tentacles