forked from OSInside/kiwi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
52 lines (46 loc) · 968 Bytes
/
.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
language: python
branches:
except:
- gh-pages
stages:
- test
- name: deploy
if: tag IS present
jobs:
include:
- python: 3.6
env: TOXENV=check,unit_py3_6
- python: 3.7
dist: xenial
sudo: true
env: TOXENV=check,unit_py3_7
- stage: deploy
python: 3.6
env: TOXENV=doc_travis
deploy:
- provider: pages
skip_cleanup: true
local-dir: doc/build_travis
github-token: $GH_TOKEN
keep-history: true
on:
tags: true
- provider: pypi
skip_cleanup: true
user: schaefi
password: $PYPI_PASS
distributions: sdist
on:
tags: true
before_install:
- sudo apt-get update -qq
- sudo apt-get install -y git
- sudo apt-get install -y xsltproc
- sudo apt-get install -y genisoimage
- sudo apt-get install -y enchant
- sudo apt-get install -y shellcheck
install:
- pip install --upgrade pip
- pip install tox
script:
- tox "-n $(nproc)"