forked from LiberTEM/LiberTEM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
69 lines (62 loc) · 1.51 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
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=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
- 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
- stage: packaging
sudo: require
dist: trusty
script:
- bash -ex packaging/appimage/make_app_image.sh
- ls -lh
after_success:
- test $TRAVIS_BRANCH = "master" && test $TRAVIS_PULL_REQUEST = "false" && wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh && bash -c "chmod +x upload.sh && ./upload.sh LiberTEM*.AppImage* dist/*"
branches:
except:
- # Do not build tags that we create when we upload to GitHub Releases
- /^(?i:continuous)/