-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
62 lines (54 loc) · 2.17 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
version: ~> 1.0
env:
global:
# doctr generated secure variable for documentation upload
# - secure: "<your secure here>"
# enable the usage of versions menu which allow versioning of the docs
# pages and not only the master branch
- DOCTR_VERSIONS_MENU="1"
# Dependency files used to build the documentation (space separated)
- DOCS_REQUIREMENTS="dev-requirements.txt requirements.txt"
# Options to be passed to flake8 for package linting. Usually this is just
# the package name but you can enable other flake8 options via this config
- PYTHON_LINT_OPTIONS="ads_deploy"
# The name of the conda package
- CONDA_PACKAGE="ads_deploy"
# The folder containing the conda recipe (meta.yaml)
- CONDA_RECIPE_FOLDER="conda-recipe"
# Requirements file with contents for tests dependencies
- CONDA_REQUIREMENTS="dev-requirements.txt"
# Uncomment this block if you would like to make PIP test an allowed failure
jobs:
allow_failures:
# This makes the PIP based Python 3.6 optional for passing.
# Remove this block if passing tests with PIP is mandatory for your
# package
- name: "Python 3.6 - PIP"
import:
- pcdshub/pcds-ci-helpers:travis/shared_configs/standard-python-conda.yml
# If not using the standard-python-conda above please uncomment the required
# (language, os, dist and stages) and optional (import statements) entries from
# the blocks below.
#
#language: python
#os: linux
#dist: xenial
#
#stages:
# - build
# - test
# - name: deploy
# if: (branch = master OR tag IS present) AND type != pull_request
#
#import:
# # Build Stage
# - pcdshub/pcds-ci-helpers:travis/shared_configs/anaconda-build.yml
# # Tests Stage
# - pcdshub/pcds-ci-helpers:travis/shared_configs/python-tester-pip.yml
# - pcdshub/pcds-ci-helpers:travis/shared_configs/python-tester-conda.yml
# - pcdshub/pcds-ci-helpers:travis/shared_configs/python-linter.yml
# - pcdshub/pcds-ci-helpers:travis/shared_configs/docs-build.yml
# # Deploy Stage
# - pcdshub/pcds-ci-helpers:travis/shared_configs/pypi-upload.yml
# - pcdshub/pcds-ci-helpers:travis/shared_configs/doctr-upload.yml
# - pcdshub/pcds-ci-helpers:travis/shared_configs/anaconda-upload.yml