forked from bokeh/bokeh
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
123 lines (103 loc) · 3.02 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
language: generic
sudo: false
dist: trusty
addons:
apt:
packages:
- chromium-chromedriver
before_script:
- ln -s /usr/lib/chromium-browser/chromedriver ~/bin/chromedriver
# This does not show secret variables, but only disables a filter for accidental spillage. The filter
# is causing problems with log trunction and TravisCI support advised to turn it off for now. See the
# issue https://github.com/bokeh/bokeh/issues/6568 for more information.
filter_secrets: false
env:
global:
- BOTO_CONFIG="/tmp/nowhere"
# GOOGLE_API_KEY
- secure: MAaYB6RV2a9tZ61Olatv52Yi4EqEh+wMkX6y20Ja1yyY3I+2sFT1NZ8ZwPFCKkDdMeSna7z4ROKk3CDMK0JkbUJrqnZgo6Fy7w6GZPcZlzUPrgH04Or0v94upMh2i0lh8wcz88VuR0i+GxnqUsP18W5AJfO/FXmU4VgDAOJfKrQ=
branches:
only:
- master
- "/^\\d+.\\d+.\\d+dev\\d+$/"
- "/^\\d+.\\d+.\\d+rc\\d+$/"
- "/^\\d+.\\d+.\\d+$/"
- landing-2.0
before_install:
- export PATH="$HOME/miniconda/bin:$PATH"
- export PATH="$HOME/miniconda/envs/testenv/bin:$PATH"
- export PATH="$HOME/build/bokeh/bokeh/bokehjs/node_modules/phantomjs-prebuilt/lib/phantom/bin:$PATH"
- export PATH="$HOME/bin:$PATH"
- export TRAVIS_COMMIT_MSG="$(git log --format=%B --no-merges -n 1)"
jobs:
include:
- stage: build
install: scripts/ci/install.build
script: scripts/ci/build
- stage: test
install: scripts/ci/install.test
script: scripts/ci/test
addons:
chrome: stable
before_script:
- google-chrome-stable --no-sandbox --headless --hide-scrollbars --remote-debugging-port=9222 &
env:
- GROUP=examples
- PYTHON=3.7
- EXTRA_CMD=--upload
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=examples
- PYTHON=2.7
- EXTRA_CMD=--no-js
- install: scripts/ci/install.test
script: scripts/ci/test
addons:
chrome: stable
before_script:
- google-chrome-stable --no-sandbox --headless --hide-scrollbars --remote-debugging-port=9222 &
env:
- GROUP=js
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=integration
- PYTHON=3.6
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=unit
- PYTHON=3.7
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=unit
- PYTHON=3.6
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=unit
- PYTHON=3.5
- TORNADO=4
- MINIMAL=1
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=unit
- PYTHON=2.7
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=docs
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=codebase
- install: scripts/ci/install.test
script: scripts/ci/test
env:
- GROUP=downstream
- install: scripts/ci/install.deploy
stage: deploy
script: scripts/ci/deploy