-
-
Notifications
You must be signed in to change notification settings - Fork 37
Expand file tree
/
Copy path.travis.yml
More file actions
30 lines (30 loc) · 854 Bytes
/
.travis.yml
File metadata and controls
30 lines (30 loc) · 854 Bytes
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
dist: bionic
language: python
python: '3.8'
branches:
only:
- 3.9
env:
global:
# branch name of python-docs-ja repository
- DOCS_BRANCH=3.9
# branch name of cpython repository
- CPYTHON_BRANCH=3.9
# branch name of cpython-doc-catalog repository
- CATALOG_BRANCH=catalog-3.9
# Transifex project name
- TRANSIFEX_PROJECT=python-39
# Directory where repositories are cloned
- BASEDIR="$(dirname ${TRAVIS_BUILD_DIR})"
# Number of parent commits
- NUM_PARENTS=$(git log --pretty=%P -n 1 HEAD | awk '{ print NF }')
install:
- pip install sphinx
- pip install blurb
- pip install transifex-client
- pip install sphinx-intl
before_script:
- build_type=$(bash ${TRAVIS_BUILD_DIR}/scripts/determine-build-type)
- export build_type
script:
- bash ${TRAVIS_BUILD_DIR}/scripts/${build_type}/main.sh