forked from LiberTEM/LiberTEM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
93 lines (86 loc) · 2.04 KB
/
.travis.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
language: python
cache:
- pip
- directories:
- client/node_modules/
install:
- pip install tox
script:
- tox
after_success:
- bash <(curl -s https://codecov.io/bash) -f coverage.xml -f client/coverage/coverage-final.json
jobs:
include:
- stage: test
env: TOXENV=py36
python: 3.6
- stage: test
env: TOXENV=py37
python: 3.7
dist: xenial
sudo: true
- stage: test
env: TOXENV=numba_coverage
python: 3.7
dist: xenial
sudo: true
- stage: test
env: TOXENV=flake8
python: 3.7
dist: xenial
sudo: true
- stage: test
env: TOXENV=qa
dist: xenial
python: 3.7
sudo: true
- stage: test
env: TOXENV=docs-check
python: 3.7
dist: xenial
sudo: true
install:
- pip install tox
- sudo apt-get install -y pandoc
- stage: test
env: DASK_SCHEDULER_ADDRESS=tcp://localhost:8786
python: 3.7
dist: xenial
services:
- docker
install:
- pip install tox pip-tools
- (cd packaging/docker/ && ./update_reqs.sh)
script:
- (cd packaging/docker/ && docker-compose up --build -d)
- tox -e py37 -- tests/ -m dist
- stage: test
language: node_js
node_js:
- 8
install:
- (cd client && npm install)
script:
- (cd client && npm run build)
- (cd client && npm test -- --coverage)
- stage: packaging
env: TOXENV=docs-deploy
python: 3.7
dist: xenial
sudo: true
install:
- pip install tox
- sudo apt-get install -y pandoc
- stage: packaging
sudo: require
python: 3.7
dist: xenial
install:
- pip install -r scripts/requirements.txt
script:
- python scripts/release upload --pypi-test-user=libertem_bot --pypi-user=libertem_bot --no-dry-run
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/
- /^v[0-9]+\.[0-9]+\.[0-9]+/