forked from openml-labs/gama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (34 loc) · 710 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
language: python
python:
- "3.6"
- "3.7"
env:
- JOB=test SUITE=unit
- JOB=test SUITE=system
# - perform pre-commit checks only once
# - perform doc build only on commit to develop or master
jobs:
include:
- env: JOB=check
python: 3.8
- env: JOB=deploy
python: 3.8
if: (branch = master OR branch =~ /\d\d\.\d+\.x/) AND type = push
install:
- ./ci_scripts/install.sh
script:
- ./ci_scripts/script.sh
after_success:
- ./ci_scripts/after_success.sh
before_deploy:
- ./ci_scripts/build_docs.sh
deploy:
provider: pages
token: $GITHUB_TOKEN
edge: true
local_dir: docs/build
keep_history: true
skip_cleanup: true
on:
all_branches: true
condition: $JOB = deploy